File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -124,6 +124,7 @@ enum Commands {
124124 /// Manage S3/R2 storage configurations for file storage
125125 #[ command(
126126 visible_alias = "s" ,
127+ alias = "storages" ,
127128 after_help = "Examples:\n \
128129 ow storage list List storage configs\n \
129130 ow storage create my-bucket --bucket name --endpoint https://..."
@@ -136,6 +137,7 @@ enum Commands {
136137 /// Manage KV namespaces for key-value storage
137138 #[ command(
138139 visible_alias = "k" ,
140+ alias = "kvs" ,
139141 after_help = "Examples:\n \
140142 ow kv list List KV namespaces\n \
141143 ow kv create cache Create 'cache' namespace"
@@ -224,11 +226,13 @@ fn extract_alias_from_args() -> (Option<String>, Vec<String>) {
224226 "s" ,
225227 "k" ,
226228 "d" ,
227- // Singular variants (for flexibility)
229+ // Singular/plural variants (for flexibility)
228230 "worker" ,
229231 "envs" ,
230232 "environment" ,
231233 "environments" ,
234+ "storages" ,
235+ "kvs" ,
232236 "db" ,
233237 "database" ,
234238 // Help flags
You can’t perform that action at this time.
0 commit comments