Skip to content
This repository has been archived by the owner on Oct 27, 2023. It is now read-only.

Commit

Permalink
feat(cli): add deprecation warning
Browse files Browse the repository at this point in the history
This change adds a deprecation warning now that the package will no
longer be maintained. The AWS CLI supports this functionality so this
package is no longer needed.
  • Loading branch information
ryansonshine committed Oct 27, 2023
1 parent 276a419 commit 77b6dd9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@ import { Command } from 'commander';
import { logger } from './logger';
import { run } from './sso-creds';

logger.warn('Notice: This package is no longer actively maintained.');
logger.warn(
'This functionality is now supported by the AWS CLI. Please update to the\
latest version and run "aws sso login --profile <profile_name>" to see if it works for your use case.'
);
logger.warn(
'See https://docs.aws.amazon.com/cli/latest/userguide/sso-configure-profile-token.html for additional details.'
);

const version: string = require('../package.json').version;
const program = new Command();

Expand Down

0 comments on commit 77b6dd9

Please sign in to comment.