3using System.Collections.Generic;
7 [Verb(
"add", HelpText =
"Add file contents to the index.")]
21 [Option(
'p',
"patch", SetName =
"mode",
22 HelpText =
"Interactively choose hunks of patch between the index and the work tree and add them to the index.")]
25 [Option(
'f',
"force", SetName =
"mode",
26 HelpText =
"Allow adding otherwise ignored files.")]
33 [Verb(
"commit", HelpText =
"Record changes to the repository.")]
46 HelpText =
"Use the interactive patch selection interface to chose which changes to commit.")]
49 [Option(
"amend", HelpText =
"Used to amend the tip of the current branch.")]
53 [Verb(
"clone", HelpText =
"Clone a repository into a new directory.")]
58 private readonly IEnumerable<string>
urls;
67 [Option(
"no-hardlinks",
68 HelpText =
"Optimize the cloning process from a repository on a local filesystem by copying files.")]
72 HelpText =
"Suppress summary message.")]
76 public IEnumerable<string>
Urls {
get {
return urls; } }
Immutable_Add_Verb(bool patch, bool force, string fileName)
readonly IEnumerable< string > urls
IEnumerable< string > Urls
readonly bool noHardLinks
Immutable_Clone_Verb(bool noHardLinks, bool quiet, IEnumerable< string > urls)
Immutable_Commit_Verb(bool patch, bool amend)