/s3-janitor

CLI utility to take care of orphaned S3 buckets left by Cloudformation

Primary LanguageTypeScriptMIT LicenseMIT

s3-janitor

CLI utility to take care of orphaned S3 buckets left by Cloudformation

oclif Version Downloads/week License

Usage

$ npm install -g s3-janitor
$ janitor COMMAND
running command...
$ janitor (-v|--version|version)
s3-janitor/0.2.0 darwin-x64 node-v14.16.0
$ janitor --help [COMMAND]
USAGE
  $ janitor COMMAND
...

Commands

janitor list-orphans

Lists all S3 Buckets not referenced in a CF / CDK Stack

USAGE
  $ janitor list-orphans

See code: src/commands/list-orphans.ts

janitor remove-orphans

Removes all orphaned S3 Buckets recursively

USAGE
  $ janitor remove-orphans

See code: src/commands/remove-orphans.ts

janitor help [COMMAND]

display help for janitor

USAGE
  $ janitor help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

License

s3-janitor is licensed under the MIT License.