Pylon::CLI::Sync
Constants
DEFAULT_COMPRESSION = 9
DEFAULT_REMOTE_BINARY = "pylon"
Constructors
Class methods
__kebab_schema(parent_path : Array(String), inherited_globals : Array(Kebab::Schema::Option) = [] of ::Kebab::Schema::Option) : Kebab::Schema::Command
SourceOverride this on a command to customise how its parse errors are
rendered when invoked through self.run. Return true to suppress
kebab's default rendering, false to fall through to it.
Parses args (defaulting to ARGV) into either an instance of self,
a Kebab::Help (if the user asked for help), or one of the Kebab::Errors variants.
run(args : Array(String), *forward_args, stdout : IO = STDOUT, stderr : IO = STDERR, **forward_kwargs) : Bool
Parses args and dispatches: calls instance.run(*forward_args, **forward_kwargs)
on success, writes help to stdout, writes errors to stderr.
Returns true on success or help, false on error.
Define self.on_parse_error on a command to customise how errors for that command are rendered.
schema
Returns the command and its whole subtree as an immutable
Kebab::Schema::Command, derived at compile time.
Instance methods
brand
Sourcecompression
Sourceconfig
Sourcedry_run?
Sourceignore
Sourcelocal
Sourceport
Sourceprefer_local
Sourceprefer_remote
Sourceremote
Sourceremote_binary
Sourceremote_state
Sourcerun
Sourcestate
Sourceverbose?
Sourcewatch?
Source