پرش به مطلب اصلی

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-urlstringAPI base URL (default: https://api.ariaservice.net)
--outputstringdefault output format: table|json
--tokenstringAPI token
--token-stdinboolread 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