From 14a0f63cdcc4ad2e71014b41554612f0e9869d64 Mon Sep 17 00:00:00 2001 From: Anton Date: Sun, 14 Apr 2024 01:20:02 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=BA=D1=83=D0=BC=D0=B5=D0=BD?= =?UTF-8?q?=D1=82=D0=B0=D1=86=D0=B8=D1=8F=20CLI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/os/cli_parse.os | 8 ++++---- .../Obnovit-fayl.md | 9 +++++++++ .../Poluchit-objekt.md | 8 ++++++++ .../Poluchit-spisok-faylov.md | 8 ++++++++ .../Poluchit-spisok-katalogov.md | 8 ++++++++ .../Skachat-fayl.md | 9 +++++++++ .../Skopirovat-fayl.md | 9 +++++++++ .../Sozdat-papku.md | 9 +++++++++ .../Udalit-objekt.md | 8 ++++++++ .../Zagruzit-fayl.md | 19 +++++++++++++++++++ .../Poluchit-kommentariy.md | 9 +++++++++ .../Poluchit-spisok-kommentariev.md | 8 ++++++++ .../Sozdat-kommentariy.md | 9 +++++++++ .../Udalit-kommentariy.md | 9 +++++++++ .../Otkryt-temu-foruma.md | 6 ++++++ .../Sozdat-temu-foruma.md | 6 ++++++ 16 files changed, 138 insertions(+), 4 deletions(-) diff --git a/.github/workflows/os/cli_parse.os b/.github/workflows/os/cli_parse.os index 6d754bcfa..47a39741a 100644 --- a/.github/workflows/os/cli_parse.os +++ b/.github/workflows/os/cli_parse.os @@ -462,10 +462,10 @@ | | Структура JSON данных объекта (параметр --props): | { - | ""MIME"" , ""image/jpeg""); - | ""Имя"" , ""Новый файл.jpg""); - | ""Описание"" , ""Это новый файл""); - | ""Родитель"" , ""root""); + | ""MIME"" , ""image/jpeg"", + | ""Имя"" , ""Новый файл.jpg"", + | ""Описание"" , ""Это новый файл"", + | ""Родитель"" , ""root"" | } |"; КонецЕсли; diff --git a/docs/docs/Google_Drive/Rabota-s-fajlami-i-papkami/Obnovit-fayl.md b/docs/docs/Google_Drive/Rabota-s-fajlami-i-papkami/Obnovit-fayl.md index cd84b7cd6..86dc784b7 100644 --- a/docs/docs/Google_Drive/Rabota-s-fajlami-i-papkami/Obnovit-fayl.md +++ b/docs/docs/Google_Drive/Rabota-s-fajlami-i-papkami/Obnovit-fayl.md @@ -27,6 +27,15 @@ sidebar_position: 6 ``` +```sh title="Пример команд CLI" + + oint google ОбновитьТокен --id %clientid% --secret %clientsecret% --refresh %refreshtoken% > token.json + oint tools РазложитьJSON --json token.json --name access_token > token.tmp + set /p token= token.json + oint tools РазложитьJSON --json token.json --name access_token > token.tmp + set /p token= token.json + oint tools РазложитьJSON --json token.json --name access_token > token.tmp + set /p token= token.json + oint tools РазложитьJSON --json token.json --name access_token > token.tmp + set /p token= token.json + oint tools РазложитьJSON --json token.json --name access_token > token.tmp + set /p token= token.json + oint tools РазложитьJSON --json token.json --name access_token > token.tmp + set /p token= token.json + oint tools РазложитьJSON --json token.json --name access_token > token.tmp + set /p token= token.json + oint tools РазложитьJSON --json token.json --name access_token > token.tmp + set /p token= token.json + oint tools РазложитьJSON --json token.json --name access_token > token.tmp + set /p token= token.json + oint tools РазложитьJSON --json token.json --name access_token > token.tmp + set /p token= token.json + oint tools РазложитьJSON --json token.json --name access_token > token.tmp + set /p token= token.json + oint tools РазложитьJSON --json token.json --name access_token > token.tmp + set /p token= token.json + oint tools РазложитьJSON --json token.json --name access_token > token.tmp + set /p token=