Skip to content

Commit

Permalink
fix: finally got it right
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley committed Nov 8, 2023
1 parent 6d8db93 commit d4c0974
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@salesforce/sf-plugins-core",
"version": "4.0.1-dev.3",
"version": "4.0.1-dev.5",
"description": "Utils for writing Salesforce CLI plugins",
"main": "lib/exported",
"types": "lib/exported.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/exported.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { Flags as OclifFlags } from '@oclif/core';
export { toHelpSection, parseVarArgs } from './util';
export { Deployable, Deployer, DeployerResult } from './deployer';
export { Deauthorizer } from './deauthorizer';
export { Progress, Prompter, generateTableChoices, Ux, Spinner } from './ux';
export { Progress, Prompter, generateTableChoices, Ux, Spinner, Separator } from './ux';
export { SfHook } from './hooks';
export * from './types';
export { SfCommand, SfCommandInterface, StandardColors } from './sfCommand';
Expand Down
2 changes: 1 addition & 1 deletion src/ux/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
export { UxBase } from './base';
export { Ux } from './ux';
export { Progress } from './progress';
export { Prompter, generateTableChoices } from './prompter';
export { Prompter, generateTableChoices, Separator } from './prompter';
export { Spinner } from './spinner';
4 changes: 2 additions & 2 deletions src/ux/prompter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ import { Dictionary, Nullable, ensureString } from '@salesforce/ts-types';
import { ux } from '@oclif/core';

export class Prompter {
public static readonly Separator = Separator;

/**
* Prompt user for information. See https://www.npmjs.com/package/inquirer for more.
*/
Expand Down Expand Up @@ -130,3 +128,5 @@ export function generateTableChoices<T>(

return choicesOptions;
}

export { Separator };

0 comments on commit d4c0974

Please sign in to comment.