If you have an account and you’re familiar with the Nylas CLI, let’s get started with Fig!
Using the Nylas CLI
As you may have read in the Working with the Nylas CLI post, the Nylas CLI helps us to do API calls in a simple way. You just need to remember all the available commands or at least the ones you use more often. Of course, you can always use:
$ nylas --help
In order to get all the commands, we can do something simple like:
$ nylas api accounts get
Or something more complex, such as:
$ nylas api messages get --in=inbox --limit=3
If you haven’t heard of Fig, we would recommend you to check them out. In short, Fig adds code editor style autocompletion to your terminal.
For example, if you use Github, then you can do something like this:
That kept us thinking about the possibilities:
Using the Nylas CLI and Fig
Yes, you can now use the Nylas CLI and Fig. What do you need to do? Nothing more than install the Nylas CLI and install Fig.
Now we can do things like this:
Or something like this:
You can now forget about remembering all the Nylas CLI commands and focus on improving your workflow.
Don’t miss the action and watch our livestream Coding with Nylas:
Nylas recognized as a Cool Vendor in the Gartner 2023 Cool Vendors in Composable Customer Engagement Platforms
How to manage your Contacts using Reflex (Pynecone)
Subscribe for our updates
Please enter your email address and receive the latest updates.
Blag aka Alvaro Tejada Galindo
Blag aka Alvaro Tejada Galindo is a Senior Developer Advocate at Nylas. He loves learning about programming and sharing knowledge with the community. When he’s not coding, he’s spending time with his wife, daughter and son. He loves Punk Music and reading all sorts of books.