repo_on_fire.cli
Definition of the command line interface of the application.
This module defines the available command line interface of the app. Most of the concrete commands are simple wrappers around the native repo commands. However, repo-on-fire also has some own ones. Additionally, the tool decorates some of repo's built in commands, adding some functionality on top.
abandon(args)
Permanently abandon a development branch.
Source code in repo_on_fire/cli.py
31 32 33 34 35 36 | |
branch(args)
View current topic branches.
Source code in repo_on_fire/cli.py
39 40 41 42 43 44 | |
branches(args)
View current topic branches.
Source code in repo_on_fire/cli.py
47 48 49 50 51 52 | |
checkout(args)
Checkout a branch for development.
Source code in repo_on_fire/cli.py
55 56 57 58 59 60 | |
cherry_pick(args)
Cherry-pick a change..
Source code in repo_on_fire/cli.py
63 64 65 66 67 68 | |
cli()
This tool is a wrapper around the repo command line tool.
It allows calling any repo command as usual. On top, some repo-on-fire specific commands are added on top.
Source code in repo_on_fire/cli.py
17 18 19 20 21 22 23 | |
config()
Configuration of the tool.
Source code in repo_on_fire/cli.py
346 347 348 | |
config_list(json)
Print the current configuration.
Source code in repo_on_fire/cli.py
358 359 360 361 362 | |
config_path(json)
Print the path to the user configuration file.
Source code in repo_on_fire/cli.py
351 352 353 354 355 | |
diff(args)
Show changes between commit and working tree.
Source code in repo_on_fire/cli.py
71 72 73 74 75 76 | |
diffmanifests(args)
Manifest diff utility.
Source code in repo_on_fire/cli.py
79 80 81 82 83 84 | |
download(args)
Download and checkout a change.
Source code in repo_on_fire/cli.py
87 88 89 90 91 92 | |
forall(args)
Run a shell command in each project.
Source code in repo_on_fire/cli.py
95 96 97 98 99 100 | |
grep(args)
Print lines matching a pattern.
Source code in repo_on_fire/cli.py
103 104 105 106 107 108 | |
help(args)
Display detailed help on a command.
Source code in repo_on_fire/cli.py
111 112 113 114 115 116 | |
info(args)
Get info on the manifest branch, current branch or unmerged branches.
Source code in repo_on_fire/cli.py
119 120 121 122 123 124 | |
init(args)
Stage file(s) for commit.
Source code in repo_on_fire/cli.py
127 128 129 130 131 132 | |
list(args)
List projects and their associated directories.
Source code in repo_on_fire/cli.py
135 136 137 138 139 140 | |
manifest(args)
Manifest inspection utility.
Source code in repo_on_fire/cli.py
143 144 145 146 147 148 | |
overview(args)
Display overview of unmerged project branches.
Source code in repo_on_fire/cli.py
151 152 153 154 155 156 | |
prune(args)
Prune (delete) already merged topics.
Source code in repo_on_fire/cli.py
159 160 161 162 163 164 | |
rebase(args)
Rebase local branches on upstream branch.
Source code in repo_on_fire/cli.py
167 168 169 170 171 172 | |
selfupdate(args)
Update repo to the latest version.
Source code in repo_on_fire/cli.py
175 176 177 178 179 180 | |
smartsync(args)
Update working tree to the latest known good revision.
Source code in repo_on_fire/cli.py
183 184 185 186 187 188 | |
stage(args)
Stage file(s) for commit.
Source code in repo_on_fire/cli.py
191 192 193 194 195 196 | |
start(args)
Start a new branch for development.
Source code in repo_on_fire/cli.py
199 200 201 202 203 204 | |
status(args)
Show the working tree status.
Source code in repo_on_fire/cli.py
207 208 209 210 211 212 | |
sync(args)
Update working tree to the latest revision.
Source code in repo_on_fire/cli.py
215 216 217 218 219 220 | |
unknown(args)
Catch all other repo commands and forward them to the default command.
Source code in repo_on_fire/cli.py
244 245 246 247 248 249 250 251 252 253 254 255 | |
upload(args)
Upload changes for code review.
Source code in repo_on_fire/cli.py
223 224 225 226 227 228 | |
version(args)
Display the version of repo.
Source code in repo_on_fire/cli.py
231 232 233 234 235 236 | |
workspace()
Workspace manipulation commands.
Source code in repo_on_fire/cli.py
315 316 317 | |
workspace_snapshot(output)
Create a frozen workspace snapshot manifest.
Source code in repo_on_fire/cli.py
336 337 338 339 340 341 342 343 | |
workspace_switch(branch)
Switch the workspace to a different branch.
This will first run a sync on the workspace, detaching any potentially checked out branches. Afterwards, an attempt is made to check out the given branch in all repositories in the workspace.
If the branch can be checked out in at least one repository, the call succeeds, otherwise, the command exits with an error.
Source code in repo_on_fire/cli.py
320 321 322 323 324 325 326 327 328 329 330 331 332 333 | |