superfaceai / cli

Let AI connect the APIs for you
https://superface.ai
MIT License
23 stars 4 forks source link

[BUG] Communicate to users the names of required environment variables #315

Closed zdne closed 1 year ago

zdne commented 1 year ago

After the superface map step the instructions no longer contain information about what variable set in the environment.

⚠ You need to have Node version 18.0.0 or higher installed to run the integration. Used dependencies:
"@superfaceai/one-sdk"
"dotenv"
You can install defined dependencies by running `npm install` in `superface` directory.

✔ Local project set up. You can now install defined dependencies and run `superface execute notion-alt notion-workspace/retrieve-users` to execute your integration.

Expected Behavior

The printout should include any tokens that used needs to set in the environment e.g. NOTION_ALT_TOKEN

Possible Solution

Print the tokens as listed in the .mjs file

Steps to Reproduce

create a map for anything

Your Environment