Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[eas-cli] improve descriptions of env commands #2539

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/eas-cli/src/commands/env/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ type CreateFlags = {

export default class EnvironmentVariableCreate extends EasCommand {
static override description =
'create an environment variable on the current project or owner account';
'create a shared (account-wide) environment variable or project-wide environment variable (for current project)';

static override hidden = true;

Expand Down
3 changes: 2 additions & 1 deletion packages/eas-cli/src/commands/env/delete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ type DeleteFlags = {
};

export default class EnvironmentVariableDelete extends EasCommand {
static override description = 'delete an environment variable by name';
static override description =
'delete a shared (account-wide) or project-wide environment variable (for current project)';

static override hidden = true;

Expand Down
3 changes: 2 additions & 1 deletion packages/eas-cli/src/commands/env/get.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ type GetFlags = {
};

export default class EnvironmentVariableGet extends EasCommand {
static override description = 'get environment variable';
static override description =
'display information about a shared (account-wide) or project-wide environment variable (for current project)';

static override hidden = true;

Expand Down
3 changes: 2 additions & 1 deletion packages/eas-cli/src/commands/env/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ import { formatVariable } from '../../utils/formatVariable';
import { promptVariableEnvironmentAsync } from '../../utils/prompts';

export default class EnvironmentValueList extends EasCommand {
static override description = 'list environment variables for the current project';
static override description =
'list shared (account-wide) or project-wide environment variables with linked shared environment variables (for current project)';

static override hidden = true;

Expand Down
3 changes: 2 additions & 1 deletion packages/eas-cli/src/commands/env/pull.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ import { confirmAsync } from '../../prompts';
import { promptVariableEnvironmentAsync } from '../../utils/prompts';

export default class EnvironmentValuePull extends EasCommand {
static override description = 'pull env file';
static override description =
'pull project-wide environment variables with linked shared environment variables (for current project) to .env file';

static override hidden = true;

Expand Down
2 changes: 1 addition & 1 deletion packages/eas-cli/src/commands/env/push.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ type PushFlags = {
};

export default class EnvironmentVariablePush extends EasCommand {
static override description = 'push env file';
static override description = `push environment variables from local .env file to the project's environment`;

static override hidden = true;

Expand Down
2 changes: 1 addition & 1 deletion packages/eas-cli/src/commands/env/unlink.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { selectAsync } from '../../prompts';
import { promptVariableEnvironmentAsync } from '../../utils/prompts';

export default class EnvironmentVariableUnlink extends EasCommand {
static override description = 'unlink a shared environment variable to the current project';
static override description = 'unlink a shared environment variable from the current project';

static override hidden = true;

Expand Down
2 changes: 1 addition & 1 deletion packages/eas-cli/src/commands/env/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ type UpdateFlags = {

export default class EnvironmentVariableUpdate extends EasCommand {
static override description =
'update an environment variable on the current project or owner account';
'update a shared (account-wide) or project-wide environment variable (for current project)';

static override hidden = true;

Expand Down
Loading