We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 402187e + 3842a64 commit 680c0d4Copy full SHA for 680c0d4
src/commands/get/index.ts
@@ -30,7 +30,7 @@ export default class FlagsmithGet extends Command {
30
async run(): Promise<void> {
31
const {args, flags} = await this.parse(FlagsmithGet)
32
const environment = args.environment || process.env.FLAGSMITH_ENVIRONMENT
33
- const api = args.api || process.env.FLAGSMITH_ENVIRONMENT
+ const api = flags.api || process.env.FLAGSMITH_ENVIRONMENT
34
if (environment) {
35
this.log('A flagsmith environment was not specified, run flagsmith get --help for more usage.')
36
}
0 commit comments