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

feat: removal notice #1226

Merged
merged 4 commits into from
Jun 26, 2024
Merged
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 README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ $ npm install -g @salesforce/plugin-source
$ sfdx COMMAND
running command...
$ sfdx (--version)
@salesforce/plugin-source/3.4.8 linux-x64 node-v18.20.3
@salesforce/plugin-source/3.4.9-demo.0 linux-x64 node-v18.20.3
$ sfdx --help [COMMAND]
USAGE
$ sfdx COMMAND
Expand Down
2 changes: 1 addition & 1 deletion messages/cancel.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ The cancel command failed due to: %s

# deprecation

We plan to deprecate this command in the future. Try using the "%s" command instead.
This command is deprecated and will be removed from Salesforce CLI on November 6, 2024. Use the "%s" command instead.
2 changes: 1 addition & 1 deletion messages/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,4 +273,4 @@ You requested an async deploy with code coverage or JUnit results. The reports w

# deprecation

We plan to deprecate this command in the future. Try using the "%s" command instead.
This command is deprecated and will be removed from Salesforce CLI on November 6, 2024. Use the "%s" command instead.
2 changes: 1 addition & 1 deletion messages/md.cancel.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ The cancel command failed due to: %s.

# deprecation

We plan to deprecate this command in the future. Try using the "%s" command instead.
This command is deprecated and will be removed from Salesforce CLI on November 6, 2024. Use the "%s" command instead.
2 changes: 1 addition & 1 deletion messages/md.deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,4 +197,4 @@ You requested an async deploy with code coverage or JUnit results. The reports w

# deprecation

We plan to deprecate this command in the future. Try using the "%s" command instead.
This command is deprecated and will be removed from Salesforce CLI on November 6, 2024. Use the "%s" command instead.
2 changes: 1 addition & 1 deletion messages/md.deployreport.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ Using specified username %s.

# deprecation

We plan to deprecate this command in the future. Try using the "%s" and "%s" pair instead.
This command is deprecated and will be removed from Salesforce CLI on November 6, 2024. Use the "%s" and "%s" pair instead.
2 changes: 1 addition & 1 deletion messages/md.retrieve.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,4 @@ If the retrieve request has completed, the retrieved metadata zip file will be w

# deprecation

We plan to deprecate this command in the future. Try using the "%s" command instead.
This command is deprecated and will be removed from Salesforce CLI on November 6, 2024. Use the "%s" command instead.
2 changes: 1 addition & 1 deletion messages/pull.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ Your retrieve request did not complete within the specified wait time [%s minute

# deprecation

We plan to deprecate this command in the future. Try using the "%s" command instead.
This command is deprecated and will be removed from Salesforce CLI on November 6, 2024. Use the "%s" command instead.
2 changes: 1 addition & 1 deletion messages/push.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ Check the order of your dependencies and ensure all metadata is included.

# deprecation

We plan to deprecate this command in the future. Try using the "%s" command instead.
This command is deprecated and will be removed from Salesforce CLI on November 6, 2024. Use the "%s" command instead.
2 changes: 1 addition & 1 deletion messages/report.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ The metadata deploy operation failed.

# deprecation

We plan to deprecate this command in the future. Try using the "%s" and "%s" pair instead.
This command is deprecated and will be removed from Salesforce CLI on November 6, 2024. Use the "%s" and "%s" pair instead.
2 changes: 1 addition & 1 deletion messages/retrieve.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,4 +193,4 @@ The retrieve target directory [%s] overlaps one of your package directories. Spe

# deprecation

We plan to deprecate this command in the future. Try using the "%s" command instead.
This command is deprecated and will be removed from Salesforce CLI on November 6, 2024. Use the "%s" command instead.
2 changes: 1 addition & 1 deletion messages/status.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ No local or remote changes found.

# deprecation

We plan to deprecate this command in the future. Try using the "%s" command instead.
This command is deprecated and will be removed from Salesforce CLI on November 6, 2024. Use the "%s" command instead.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@salesforce/plugin-source",
"description": "Commands to interact with source formatted metadata",
"version": "3.4.8",
"version": "3.4.9-demo.0",
"author": "Salesforce",
"bugs": "https://github.com/forcedotcom/cli/issues",
"dependencies": {
Expand Down
4 changes: 4 additions & 0 deletions src/commands/force.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ export type ForceCommandResult = { apiVersion: string };
export class ForceCommand extends SfCommand<ForceCommandResult> {
public static readonly hidden = true;
public static readonly examples = [];
public static state = 'deprecated';
public static readonly deprecationOptions = {
message: 'Use "org display" to see the API version of any org.',
};
// eslint-disable-next-line sf-plugin/no-hardcoded-messages-commands
public static readonly summary = 'Display the ASCII art logo for the Salesforce CLI';

Expand Down
4 changes: 4 additions & 0 deletions src/commands/force/mdapi/retrieve/report.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ export class Report extends SourceCommand {
public static readonly description = messages.getMessage('report.description');
public static readonly examples = messages.getMessages('report.examples');
public static readonly state = 'deprecated';
public static readonly deprecationOptions = {
to: 'project retrieve report',
message: messages.getMessage('deprecation', ['project retrieve report']),
};
public static readonly hidden = true;
public static readonly flags = {
'api-version': orgApiVersionFlagWithDeprecations,
Expand Down