Categorygithub.com/t-mutaguchi-10antz/go-cs-rotate

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

Cloud Storage Rotate

Lint & UnitTest

Descriptions

条件に合わせてクラウドストレージ上のリソースを削除する

Installation

$ go install github.com/t-mutaguchi-10antz/go-cs-rotate@latest

Usage

Usage:
  cs-rotate PLATFORM[aws] [OPTIONS]

Application Options:
  -u, --url=             削除対象の基点となる URL ( schema://bucket/prefix )
  -q, --quantity=        ローテートせずに残す量
  -o, --order=[desc|asc] ローテートせずに残すにあたって降順・昇順どちらで並べ替えるか ( default: desc )
  -v, --verbose          詳細ログを出力するか
      --version          バージョン
      --aws-profile=     ストレージが AWS S3 の場合は必須, プロファイルを指定する