Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a command interface #350

Closed
mwatts15 opened this issue May 30, 2018 · 1 comment
Closed

Create a command interface #350

mwatts15 opened this issue May 30, 2018 · 1 comment
Assignees
Labels

Comments

@mwatts15
Copy link
Contributor

PyOpenWorm will eventually be used in a variety of places, including in web applications, on the command line, and embedded in other libraries. To facilitate these different uses, there should be a common high-level interface for performing some operations, but for which the full PyOpenWorm syntax is too verbose or which obscures the primary intent.

The task is to create the interface described above and expose it through a CLI.

@mwatts15 mwatts15 self-assigned this May 30, 2018
mwatts15 added a commit that referenced this issue Jun 3, 2018
…g docstrings (#350)

- Also, making it possible to do RealSimpleProperty decls in class body.
  This was added now mostly for documentation purposes, but also because
  evetually, we'll want to add these relationships to the graph
mwatts15 added a commit that referenced this issue Jun 6, 2018
…g docstrings (#350)

- Also, making it possible to do RealSimpleProperty decls in class body.
  This was added now mostly for documentation purposes, but also because
  evetually, we'll want to add these relationships to the graph
mwatts15 added a commit that referenced this issue Jun 9, 2018
- Including empty Git repo creation

- Making optimizations in various places. Adding docstrings (#350)

- Making it possible to do RealSimpleProperty decls in class body.
  This was added now mostly for documentation purposes, but also because
  eventually, we'll want to add these relationships to the graph (#351)

- Reordering operations to avoid unnecessary work

- Using namedtuple for Statement impl

- Removing unneeded imports in __init__.py

- Removing automodules in PyOpenWorm docstring -- apidoc will handle these
- Adding an excepthook to filter out import_override frames

- Making DataObjectTest backwards compatible with 2.7

- Upgrading numpydoc and updating documentation

- Enabling "related topics" in docs html sidebar

- Enabling warnings

- Adding arg for ContextualizableList decontextualize init

- Changing to "pow.conf" for default config file name. Adding add_graph test

- Putting imports in a named context

- Adding base directory for translation in insert_worm.py: Makes things
  more portable
mwatts15 added a commit that referenced this issue Jun 13, 2018
mwatts15 added a commit that referenced this issue Jun 16, 2018
mwatts15 added a commit that referenced this issue Jun 16, 2018
- Adding a separate config file for the README
- Referencing .pow/worm.db for examples
mwatts15 added a commit that referenced this issue Jun 16, 2018
mwatts15 added a commit that referenced this issue Jun 16, 2018
- Without knowing the exc, I would not consider it safe to try another add
mwatts15 added a commit that referenced this issue Jun 17, 2018
* Adding support for sub-command objects to CLI wrapper

* Adding an alias for wormbaseid

- Really not sure how this wasn't already breaking on Travis-CI

* Switching to the new pow CLI for install

* Adding progress-bar hotness

* Updating config files for the new DB location

- Adding a separate config file for the README
- Referencing .pow/worm.db for examples

* Using IdMixin augments in a few more places

* Addressing some conditions in PropertyIVar creation

* Adding some tests for the CLI wrapper

* Making change for slight differences between 2.7 and 3 argparse
mwatts15 added a commit that referenced this issue Jun 17, 2018
mwatts15 added a commit that referenced this issue Jun 17, 2018
mwatts15 added a commit that referenced this issue Jun 17, 2018
@mwatts15
Copy link
Contributor Author

Closing this one. The command line exists and works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant