The Intuned CLI exposes a variaty of commands to develop and create your Intuned projects locally:
npx -p @intuned/runtime intuned-init
./intuned.json
: Intuned project configuration file./api
: Folder containing the API files./parameters
: Folder containing the parameters files, used for API parameters injection./output
: Folder containing the output files generated by the APIs
- You can use either
yarn
ornpm run
to run and execute the commands
- workspaceId: Your Intuned workspace ID, either provided via command line or Intuned.json setting -> (
workspaceId
) How to get your workspaceId - projectName: The name of your Intuned project, either provided via command line or Intuned.json setting -> (
projectName
) - INTUNED_API_KEY: Your Intuned API key, either provided via command line or environment variable
yarn run-api <api-name>
- Options:
- -i, --parameters-file file-path: JSON file containing API parameters
- -s, --store-results: Store the results of the running API inside the output directory:
- ./output/[runId]/results.json
- ./output/[runId]/extendedPayloads.json
yarn cli-build
yarn deploy <project-name>
- project-name: Optional project name that overrides the one on the intuned.json file
- Options (optinal):
- --workspace-id: Overrides the workspace id specified in the intuned.json file setting
- --api-key: Overrides the api key provided by the environment var.
- You can interact with your Intuned project within the platform when deploying it
- All commands above should be runned from the root location of the project (from where you runned and created the project through
intuned-init
command) - Verify you're in the correct location by confirming the presence of package.json and intuned.json files
- Running commands from subdirectories may result in errors or unexpected behavior
- Warning: Changing the base tsconfig may break some intuned functionalities