codic-cli

command module
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: May 31, 2022 License: MIT Imports: 1 Imported by: 0

README

codic-cli

codic をターミナルから利用する為の CLI ツール

test release Go Report Card GitHub all releases GitHub license

codic-cli

必要なもの

codicの API キーが必要です。こちらから取得してください。

インストール

Homebrew
brew tap arrow2nd/tap
brew install codic
それ以外

Releases からお使いの環境にあったファイルをダウンロードしてください。

コマンド

get

get [<日本語>] [--case 名前付け規則] [--prefix 接頭辞スタイル]

ネーミングを生成します。

$ codic get こんにちは世界 --case snake --prefix camel
hello_world

フラグを省略すると設定したデフォルト値に基づいて生成されます。

また、ネーミングの生成に失敗した場合でもそのまま出力します。

名前付け規則のパラメータ
パラメータ名 規則名
pascal パスカルケース PascalCase
camel キャメルケース camelCase
snake スネークケース snake_case
screaming スクリーミングスネークケース SNAKE_CASE
kebab ケバブケース kebab-case
space なし(スペース区切り) space case
接頭辞スタイルのパラメータ
パラメータ名 説明
microsoft MS ネーミングガイドラインに準拠 IOException
camel CamelCase のルールに準拠 IoException
literal リテラル(変換しない)
config api

API キーを設定します。

config case

デフォルトの名前付け規則の種類を設定します。

config prefix

デフォルトの接頭辞スタイルを設定します。

config list

設定されているデフォルト値を表示します。

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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