mirror of
https://github.com/kevwillow/scaffold.git
synced 2026-10-20 08:37:34 +02:00
546 lines
15 KiB
JSON
546 lines
15 KiB
JSON
{
|
|
"tool": "git",
|
|
"binary": "git",
|
|
"description": "Distributed version control system.",
|
|
"subcommands": [
|
|
{
|
|
"name": "clone",
|
|
"description": "Clone a repository into a new directory",
|
|
"arguments": [
|
|
{
|
|
"name": "Depth",
|
|
"flag": "--depth",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Create a shallow clone with history truncated to the specified number of commits",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null
|
|
},
|
|
{
|
|
"name": "Branch",
|
|
"flag": "--branch",
|
|
"short_flag": "-b",
|
|
"type": "string",
|
|
"description": "Point HEAD at the named branch instead of the remote HEAD",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null
|
|
},
|
|
{
|
|
"name": "Single Branch",
|
|
"flag": "--single-branch",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Clone only the history leading to the tip of a single branch",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null
|
|
},
|
|
{
|
|
"name": "Recurse Submodules",
|
|
"flag": "--recurse-submodules",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Initialize and clone submodules within the repository",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null
|
|
},
|
|
{
|
|
"name": "Bare",
|
|
"flag": "--bare",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Make a bare Git repository without a working tree",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null
|
|
},
|
|
{
|
|
"name": "Repository",
|
|
"flag": "REPOSITORY",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "The repository URL or path to clone from",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null
|
|
},
|
|
{
|
|
"name": "Directory",
|
|
"flag": "DIRECTORY",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Target directory name to clone into",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "commit",
|
|
"description": "Record changes to the repository",
|
|
"arguments": [
|
|
{
|
|
"name": "Message",
|
|
"flag": "--message",
|
|
"short_flag": "-m",
|
|
"type": "string",
|
|
"description": "Use the given message as the commit message",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null
|
|
},
|
|
{
|
|
"name": "All",
|
|
"flag": "--all",
|
|
"short_flag": "-a",
|
|
"type": "boolean",
|
|
"description": "Automatically stage modified and deleted files before committing",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null
|
|
},
|
|
{
|
|
"name": "Amend",
|
|
"flag": "--amend",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Replace the tip of the current branch by creating a new commit",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null
|
|
},
|
|
{
|
|
"name": "Allow Empty",
|
|
"flag": "--allow-empty",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Allow creating a commit that has the same tree as its parent",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null
|
|
},
|
|
{
|
|
"name": "Author",
|
|
"flag": "--author",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Override the commit author (format: \"Name <email>\")",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "equals",
|
|
"positional": false,
|
|
"validation": null
|
|
},
|
|
{
|
|
"name": "Sign Off",
|
|
"flag": "--signoff",
|
|
"short_flag": "-s",
|
|
"type": "boolean",
|
|
"description": "Add a Signed-off-by trailer at the end of the commit message",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "log",
|
|
"description": "Show commit logs",
|
|
"arguments": [
|
|
{
|
|
"name": "Max Count",
|
|
"flag": "--max-count",
|
|
"short_flag": "-n",
|
|
"type": "integer",
|
|
"description": "Limit the number of commits to output",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null
|
|
},
|
|
{
|
|
"name": "Oneline",
|
|
"flag": "--oneline",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Shorthand for --pretty=oneline --abbrev-commit",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null
|
|
},
|
|
{
|
|
"name": "Graph",
|
|
"flag": "--graph",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Draw a text-based graphical representation of the commit history",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null
|
|
},
|
|
{
|
|
"name": "Format",
|
|
"flag": "--pretty",
|
|
"short_flag": null,
|
|
"type": "enum",
|
|
"description": "Pretty-print commit logs in a given format",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": ["oneline", "short", "medium", "full", "fuller", "reference", "email", "raw"],
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "equals",
|
|
"positional": false,
|
|
"validation": null
|
|
},
|
|
{
|
|
"name": "All Branches",
|
|
"flag": "--all",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Show commits from all branches, not just the current one",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null
|
|
},
|
|
{
|
|
"name": "Author Filter",
|
|
"flag": "--author",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Limit output to commits by the given author pattern",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "equals",
|
|
"positional": false,
|
|
"validation": null
|
|
},
|
|
{
|
|
"name": "Since",
|
|
"flag": "--since",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Show commits more recent than a specific date",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "equals",
|
|
"positional": false,
|
|
"validation": null
|
|
},
|
|
{
|
|
"name": "Until",
|
|
"flag": "--until",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Show commits older than a specific date",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "equals",
|
|
"positional": false,
|
|
"validation": null
|
|
},
|
|
{
|
|
"name": "Path",
|
|
"flag": "PATH",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Show only commits that affect the given path",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "push",
|
|
"description": "Update remote refs along with associated objects",
|
|
"arguments": [
|
|
{
|
|
"name": "Force",
|
|
"flag": "--force",
|
|
"short_flag": "-f",
|
|
"type": "boolean",
|
|
"description": "Force update the remote branch even if it is not a fast-forward",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null
|
|
},
|
|
{
|
|
"name": "Set Upstream",
|
|
"flag": "--set-upstream",
|
|
"short_flag": "-u",
|
|
"type": "boolean",
|
|
"description": "Set upstream tracking reference for the current branch",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null
|
|
},
|
|
{
|
|
"name": "Tags",
|
|
"flag": "--tags",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Push all refs under refs/tags",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null
|
|
},
|
|
{
|
|
"name": "Dry Run",
|
|
"flag": "--dry-run",
|
|
"short_flag": "-n",
|
|
"type": "boolean",
|
|
"description": "Do everything except actually send the updates",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null
|
|
},
|
|
{
|
|
"name": "Delete",
|
|
"flag": "--delete",
|
|
"short_flag": "-d",
|
|
"type": "boolean",
|
|
"description": "Delete the specified remote branch",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null
|
|
},
|
|
{
|
|
"name": "Remote",
|
|
"flag": "REMOTE",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "The remote to push to (e.g. origin)",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null
|
|
},
|
|
{
|
|
"name": "Refspec",
|
|
"flag": "REFSPEC",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Branch or refspec to push (e.g. main, feature-branch)",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"arguments": [
|
|
{
|
|
"name": "Change Directory",
|
|
"flag": "-C",
|
|
"short_flag": null,
|
|
"type": "directory",
|
|
"description": "Run as if git was started in the given path",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null
|
|
},
|
|
{
|
|
"name": "Verbose",
|
|
"flag": "--verbose",
|
|
"short_flag": "-v",
|
|
"type": "boolean",
|
|
"description": "Be more verbose",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": true,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null
|
|
},
|
|
{
|
|
"name": "No Pager",
|
|
"flag": "--no-pager",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Do not pipe output into a pager",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null
|
|
}
|
|
]
|
|
}
|