Match word Language Suggest what accessories are There are also accessories Default already shown Better example Warn about secrets being shown Now also accessories Wording Clarifications Clarify how to see options General option for all Options important here too Hide subcommands Implied Simpler as just version Be concise Missing word Wordsmith Simpler and uniform words are better Clarify what exactly we're manipulating Wordsmithing Implicit Simpler language Hide subcommands Clarify its container management Just one per server Simpler
17 lines
443 B
Ruby
17 lines
443 B
Ruby
class Mrsk::Cli::Registry < Mrsk::Cli::Base
|
|
desc "login", "Log in to registry locally and remotely"
|
|
def login
|
|
run_locally { execute *MRSK.registry.login }
|
|
on(MRSK.hosts) { execute *MRSK.registry.login }
|
|
rescue ArgumentError => e
|
|
puts e.message
|
|
end
|
|
|
|
desc "logout", "Log out of registry remotely"
|
|
def logout
|
|
on(MRSK.hosts) { execute *MRSK.registry.logout }
|
|
rescue ArgumentError => e
|
|
puts e.message
|
|
end
|
|
end
|