sacloud-iaas-mainte-dates

command module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2024 License: MIT Imports: 18 Imported by: 0

README

sacloud-iaas-mainte-dates

これはさくらのクラウドでホストサーバーがメンテナンス予定になっているIaaSのサーバー情報を取得し、メンテナンス開始日時などとともに一覧表示するコマンドラインツールです。

インストール方法

Linux amd64の環境であれば以下のコマンドでインストールできます。

mkdir -p ~/.local/bin
curl -L https://github.com/hnakamur/sacloud-iaas-mainte-dates/releases/latest/download/sacloud-iaas-mainte-dates.linux_amd64.tar.gz | tar zx -C ~/.local/bin

あるいはThe Go Programming Languageをインストール済みであれば、以下のコマンドでソースからインストールできます。

go install -tags netgo github.com/hankamur/sacloud-iaas-mainte-dates@latest

利用準備

Usacloud導入ガイド - Usacloudドキュメントにしたがって、APIキーの設定を行ってください。

使い方

$ sacloud-iaas-mainte-dates -h
Usage of sacloud-iaas-mainte-dates:
  -end string
        target maintenance end date in yyyy-mm-dd format
  -format string
        output format (csv, tsv, ltsv, or json) (default "csv")
  -indent
        enable indent for json output
  -profile string
        usacloud profile name
  -start string
        target maintenance start date in yyyy-mm-dd format
  -version
        show version and exit

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL