diff --git a/commands/hash.ts b/commands/hash.ts index eea0ec6..f2dd0fa 100644 --- a/commands/hash.ts +++ b/commands/hash.ts @@ -26,7 +26,7 @@ export default await new Command() .description("Calculate local file's hash-code or show cos file's hash-code") .example( "hash for `example.file' in test/ of bucket `example'", - "./peg hash cos://example/test/example.file" + "./peg hash doge://example/test/example.file" ) .option("-s, --sign-url", "Generate hash with OSS signed URL, CHARGED") .arguments("") diff --git a/commands/ls.ts b/commands/ls.ts index 37434de..0a9205e 100644 --- a/commands/ls.ts +++ b/commands/ls.ts @@ -1,5 +1,5 @@ /** 查询存储桶或文件列表 - ls - * ./coscli ls [cos://bucketAlias[/prefix/]] [flag] + * ./coscli ls [doge://bucketAlias[/prefix/]] [flag] * https://cloud.tencent.com/document/product/436/63668 */ import { Command } from "https://deno.land/x/cliffy@v0.25.5/command/mod.ts"; diff --git a/commands/mb.ts b/commands/mb.ts index 101ff66..3094166 100644 --- a/commands/mb.ts +++ b/commands/mb.ts @@ -1,5 +1,5 @@ /** 创建存储桶 - mb - * ./coscli mb cos:// -r [flag] + * ./coscli mb doge:// -r [flag] * https://cloud.tencent.com/document/product/436/63145 */ import { Command, EnumType } from "https://deno.land/x/cliffy@v0.25.5/command/mod.ts"; diff --git a/commands/rb.ts b/commands/rb.ts index e978e1f..00bf018 100644 --- a/commands/rb.ts +++ b/commands/rb.ts @@ -1,5 +1,5 @@ /** 删除存储桶 - rb - * ./coscli rb cos:// -r [flag] + * ./coscli rb doge:// -r [flag] * https://cloud.tencent.com/document/product/436/63667 */ import { Command, EnumType } from "https://deno.land/x/cliffy@v0.25.5/command/mod.ts"; diff --git a/commands/rm.ts b/commands/rm.ts index 719c551..da3cab2 100644 --- a/commands/rm.ts +++ b/commands/rm.ts @@ -1,5 +1,5 @@ /** 删除文件 - rm - * ./coscli rm cos://[/prefix/] [cos://[/prefix/]...] [flag] + * ./coscli rm doge://[/prefix/] [doge://[/prefix/]...] [flag] * https://www.tencentcloud.com/zh/document/product/436/43258 */ import { Command } from "https://deno.land/x/cliffy@v0.25.5/command/mod.ts"; diff --git a/commands/signurl.ts b/commands/signurl.ts index 4adf5b2..0e7cdec 100644 --- a/commands/signurl.ts +++ b/commands/signurl.ts @@ -1,5 +1,5 @@ /** 获取预签名 URL - signurl - * ./coscli signurl cos:/// [flag] + * ./coscli signurl doge:/// [flag] * https://tencentcloud.com/zh/document/product/436/43263 */ import { Command } from "https://deno.land/x/cliffy@v0.25.5/command/mod.ts";