Skip to content
/ zops Public

Extensible command line operations for software development.

License

Notifications You must be signed in to change notification settings

zerotk/zops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zops

ZOPS is an extendable command line utility intended to centralize and reuse software development solutions and processes.

Creating ZOPS commands in your project

Using project alpha as example:

/
  /alpha
    __init__.py
    zops.py
  setup.py

./alpha/zops.py

import click

@click.group(name='alpha')
def main():
    pass

@main.command()
def my_command():
    """
    This is my command.

    $ zops alpha my_command
    """
    click.echo('my command')

./setup.py

# ...

setup(

    # ...

    entry_points="""
    [zops.plugins]
    alpha=alpha.zops:main
    """,
)

Creating a ZOPS extension library

/
  /zops
    /bravo
      cli.py
  setup.py

./zops/bravo/cli.py

About

Extensible command line operations for software development.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages