dulwich.cli module

Simple command-line interface to Dulwich>

This is a very simple command-line wrapper for Dulwich. It is by no means intended to be a full-blown Git command-line interface but just a way to test Dulwich.

class dulwich.cli.Command

Bases: object

A Dulwich subcommand.

run(args)

Run the command.

class dulwich.cli.SuperCommand

Bases: Command

default_command: Optional[Type[Command]] = None
run(args)

Run the command.

subcommands: Dict[str, Type[Command]] = {}
class dulwich.cli.cmd_add

Bases: Command

run(argv)

Run the command.

class dulwich.cli.cmd_archive

Bases: Command

run(args)

Run the command.

class dulwich.cli.cmd_check_ignore

Bases: Command

run(args)

Run the command.

class dulwich.cli.cmd_check_mailmap

Bases: Command

run(args)

Run the command.

class dulwich.cli.cmd_clone

Bases: Command

run(args)

Run the command.

class dulwich.cli.cmd_commit

Bases: Command

run(args)

Run the command.

class dulwich.cli.cmd_commit_tree

Bases: Command

run(args)

Run the command.

class dulwich.cli.cmd_daemon

Bases: Command

run(args)

Run the command.

class dulwich.cli.cmd_describe

Bases: Command

run(args)

Run the command.

class dulwich.cli.cmd_diff

Bases: Command

run(args)

Run the command.

class dulwich.cli.cmd_diff_tree

Bases: Command

run(args)

Run the command.

class dulwich.cli.cmd_dump_index

Bases: Command

run(args)

Run the command.

class dulwich.cli.cmd_dump_pack

Bases: Command

run(args)

Run the command.

class dulwich.cli.cmd_fetch

Bases: Command

run(args)

Run the command.

class dulwich.cli.cmd_fetch_pack

Bases: Command

run(argv)

Run the command.

class dulwich.cli.cmd_fsck

Bases: Command

run(args)

Run the command.

class dulwich.cli.cmd_help

Bases: Command

run(args)

Run the command.

class dulwich.cli.cmd_init

Bases: Command

run(args)

Run the command.

class dulwich.cli.cmd_log

Bases: Command

run(args)

Run the command.

class dulwich.cli.cmd_ls_files

Bases: Command

run(args)

Run the command.

class dulwich.cli.cmd_ls_remote

Bases: Command

run(args)

Run the command.

class dulwich.cli.cmd_ls_tree

Bases: Command

run(args)

Run the command.

class dulwich.cli.cmd_pack_objects

Bases: Command

run(args)

Run the command.

class dulwich.cli.cmd_pull

Bases: Command

run(args)

Run the command.

class dulwich.cli.cmd_push

Bases: Command

run(argv)

Run the command.

class dulwich.cli.cmd_receive_pack

Bases: Command

run(args)

Run the command.

class dulwich.cli.cmd_remote

Bases: SuperCommand

subcommands: Dict[str, Type[Command]] = {'add': <class 'dulwich.cli.cmd_remote_add'>}
class dulwich.cli.cmd_remote_add

Bases: Command

run(args)

Run the command.

class dulwich.cli.cmd_repack

Bases: Command

run(args)

Run the command.

class dulwich.cli.cmd_reset

Bases: Command

run(args)

Run the command.

class dulwich.cli.cmd_rev_list

Bases: Command

run(args)

Run the command.

class dulwich.cli.cmd_rm

Bases: Command

run(argv)

Run the command.

class dulwich.cli.cmd_show

Bases: Command

run(argv)

Run the command.

class dulwich.cli.cmd_stash

Bases: SuperCommand

subcommands: Dict[str, Type[Command]] = {'list': <class 'dulwich.cli.cmd_stash_list'>, 'pop': <class 'dulwich.cli.cmd_stash_pop'>, 'push': <class 'dulwich.cli.cmd_stash_push'>}
class dulwich.cli.cmd_stash_list

Bases: Command

run(args)

Run the command.

class dulwich.cli.cmd_stash_pop

Bases: Command

run(args)

Run the command.

class dulwich.cli.cmd_stash_push

Bases: Command

run(args)

Run the command.

class dulwich.cli.cmd_status

Bases: Command

run(args)

Run the command.

class dulwich.cli.cmd_submodule

Bases: SuperCommand

default_command

alias of cmd_submodule_init

subcommands: Dict[str, Type[Command]] = {'init': <class 'dulwich.cli.cmd_submodule_init'>}
class dulwich.cli.cmd_submodule_init

Bases: Command

run(argv)

Run the command.

class dulwich.cli.cmd_submodule_list

Bases: Command

run(argv)

Run the command.

class dulwich.cli.cmd_symbolic_ref

Bases: Command

run(args)

Run the command.

class dulwich.cli.cmd_tag

Bases: Command

run(args)

Run the command.

class dulwich.cli.cmd_update_server_info

Bases: Command

run(args)

Run the command.

class dulwich.cli.cmd_upload_pack

Bases: Command

run(args)

Run the command.

class dulwich.cli.cmd_web_daemon

Bases: Command

run(args)

Run the command.

class dulwich.cli.cmd_write_tree

Bases: Command

run(args)

Run the command.

dulwich.cli.main(argv=None)
dulwich.cli.signal_int(signal, frame)
dulwich.cli.signal_quit(signal, frame)