arianet configure
این مرجع در هر نسخه به طور خودکار از راهنمای خود CLI ساخته میشود، پس همیشه با آخرین نسخه arianet یکی است. متن راهنمای هر دستور همان متن انگلیسی است که arianet <command> --help نشان میدهد. برای نصب، تنظیم توکن و شروع کار، صفحه رابط خط فرمان را ببینید.
فلگهای سراسری با همه دستورهای این صفحه کار میکنند.
arianet configure
Configure the Arianet CLI
Configure authentication and default settings for the Arianet CLI.
Running without flags starts an interactive setup wizard. The token is typed without being echoed to the screen.
The token is stored in ~/.config/arianet/config.yaml, readable only by you (mode 0600). Prefer --token-stdin (or the interactive prompt) over --token: a token passed as an argument is visible to other users in the process list and is saved in your shell history.
Examples:
arianet configure
printf '%s' "$ARIANET_TOKEN" | arianet configure --token-stdin
arianet configure --output json
arianet configure show
نحوه استفاده
arianet configure [flags]
فلگها
| فلگ | نوع | پیشفرض | توضیح |
|---|---|---|---|
--api-url | string | API base URL (default: https://api.ariaservice.net) | |
--output | string | default output format: table|json | |
--token | string | API token | |
--token-stdin | bool | read the API token from stdin (keeps it out of process list and shell history) |
زیردستورها
show: Show current configuration
arianet configure show
Show current configuration
نحوه استفاده
arianet configure show [flags]
مثالها
arianet configure show
arianet configure show -o json