dotfiles.cli package

Submodules

dotfiles.cli.cli module

dotfiles commandline interface (CLI)

dotfiles.cli.cli.get_pkg_resource_filename(path='')[source]

This package generates a MANIFEST.in file from version control (hg) in order to include files outside of the package source directory (src/dotfiles).

When installed as an editable or a source dist, these additional data files have paths relative to pkg_resource.resource_filename.

Parameters:path (str) – path fragment (eg. etc/vim)
Returns:path – absolute path to path, relative to this package install
Return type:str
class dotfiles.cli.cli.Test_dotfiles(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_get_pkg_resource_filename()[source]
test_dotfiles_main()[source]
dotfiles.cli.cli.main(*args)[source]

Main method for the dotfiles CLI script.

Parameters:args (list) – list of arguments (if empty, read sys.argv[1:]]