With Onboardbase CLI, it is easier to create and manage a project environment directly using an authenticated CLI
This command creates an environment under a project.
onboardbase environment:create -e [ENVIRONMENT NAME] -p [PROJECT NAME] --file-path [json]
--environment: The name of the new environment
--project: The name of the project under which the environment is created
--file-path: This is should be a path to a valid JSON file to upload your env
--duplicate-from: This can be passed to the command to specify which environment you’ll like to duplicate secrets from into the new environment you’re creating
onboardbase environment:create -e production -p demo --file-path "./test.json"
onboardbase environment:create --duplicate-from "development" -e production -p demo
onboardbase environment:create --duplicate-from "development" -e production -p demo --file-path "./test.json"
Note: In case of duplicates when passing both flags, the CLI prioritizes the contents of
file-paththan that of
duplicate-frombecause having a different VALUE for a KEY locally means you’d like to override the one on Onboardbase.
Updated over 1 year ago