pub struct InstallArgs {
pub apps: Vec<String>,
pub pod: String,
pub nostr_privkey: Option<String>,
pub token: Option<String>,
pub branches: Vec<String>,
pub dry_run: bool,
}Expand description
Arguments for install.
Fields§
§apps: Vec<String>One or more app specs. Each is a bare app name
(https://github.com/solid-apps/<name>), an org/repo
shorthand (https://github.com/org/repo), or a full git URL.
Append #<ref> to pin a branch/tag/commit and =<dest> to
rename the pod directory. Example:
solid-apps/profile#v2=me-profile.
pod: StringTarget pod base URL.
nostr_privkey: Option<String>64-hex Nostr secret key used to mint NIP-98 push tokens.
Required unless --token is supplied.
token: Option<String>Bearer token alternative to NIP-98 (for IdP-authenticated, non-Nostr deployments).
branches: Vec<String>Destination branches that HEAD is pushed to. JSS publishes both
main (data) and gh-pages (static hosting).
dry_run: boolResolve and clone, print the push plan, but do not push.
Trait Implementations§
Source§impl Args for InstallArgs
impl Args for InstallArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Clone for InstallArgs
impl Clone for InstallArgs
Source§fn clone(&self) -> InstallArgs
fn clone(&self) -> InstallArgs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InstallArgs
impl Debug for InstallArgs
Source§impl FromArgMatches for InstallArgs
impl FromArgMatches for InstallArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for InstallArgs
impl RefUnwindSafe for InstallArgs
impl Send for InstallArgs
impl Sync for InstallArgs
impl Unpin for InstallArgs
impl UnsafeUnpin for InstallArgs
impl UnwindSafe for InstallArgs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more