feat: modify example
This commit is contained in:
@@ -27,7 +27,7 @@ func defaultProviders(providers ...container.ProviderContainer) container.Provid
|
|||||||
func Command() atom.Option {
|
func Command() atom.Option {
|
||||||
return atom.Command(
|
return atom.Command(
|
||||||
atom.Name("tenants"),
|
atom.Name("tenants"),
|
||||||
atom.Short("run tenants"),
|
atom.Short("租户相关操作"),
|
||||||
atom.Command(
|
atom.Command(
|
||||||
atom.Name("create"),
|
atom.Name("create"),
|
||||||
atom.Providers(defaultProviders().With(
|
atom.Providers(defaultProviders().With(
|
||||||
@@ -47,7 +47,8 @@ func Command() atom.Option {
|
|||||||
),
|
),
|
||||||
atom.Command(
|
atom.Command(
|
||||||
atom.Name("expire"),
|
atom.Name("expire"),
|
||||||
atom.Long("expire [slug] [2024-01-01]"),
|
atom.Short("设置用户的过期时间"),
|
||||||
|
atom.Example("expire [slug] [2024-01-01]"),
|
||||||
atom.Providers(defaultProviders().With(
|
atom.Providers(defaultProviders().With(
|
||||||
medias.Provide,
|
medias.Provide,
|
||||||
users.Provide,
|
users.Provide,
|
||||||
|
|||||||
Reference in New Issue
Block a user