Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
chore: add string flag
Browse files Browse the repository at this point in the history
  • Loading branch information
cristiand391 committed Sep 12, 2023
1 parent a4b731a commit deb78ab
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/commands/org/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ const messages = Messages.loadMessages(
'org.api',
);

const lalaFlag = Flags.string({
required: true
})

const testFlag = Flags.custom({
summary: 'testFlag summary',
required: true,
Expand All @@ -24,6 +28,7 @@ export class OrgApi extends SfCommand<void> {
public static readonly examples = messages.getMessages('examples');
public static enableJsonFlag = false;
public static readonly flags = {
lala: lalaFlag,
test: testFlag(),
// FIXME: getting a false positive from this eslint rule.
// summary is already set in the org flag.
Expand Down

0 comments on commit deb78ab

Please sign in to comment.