Comments (3)
I worry -h for --hook is confusing with -h for --help, but I like --hook, so not quite sure what to do there.
yeah, same. perhaps npd validate -k/--hook
?
from napari-plugin-devtools.
Overall I really like your syntax proposals @neuromusic.
I was expecting to be able to do something like npd validate-packages package_name
. I think your proposal of npd validate --package
. I could alternatively consider npd validate --include
and npd validate --exclude
, where npd validate
would use all packages, --include
would use just those listed in include (could be a list). --exclude
would use all apart from those listed in exclude
.
I worry -h
for --hook
is confusing with -h
for --help
, but I like --hook
, so not quite sure what to do there. I think that allowing people to pass the name of the hook spec is much nicer than validate-functions
etc, as it will grow with our hookspecs.
I'd also allow the --include
and --hook
functionality to be combined, so that you could look at just the one hook spec with a certain package (right now if i try and run a specific hookspec for a package i'm interested in, i just get loads of info from one of my other packages which has a bunch of stuff in it).
I think the test now that is done with valdiate-packages
I might rename with --discover
(or you could just keep this as --package
, if we're now using --include
), so you could do things like
npd validate --include napari-demo --discover # to just get discover for this package
npd validate --include napari-demo --hook= napari_experimental_provide_function # to just get this hook for this package
npd validate --include napari-demo # to get discover and all hooks for this package
npd validate --discover # to get discover and all packages
How does this sound? cc @LCObus with whom I just did some user testing!
from napari-plugin-devtools.
yeah, same. perhaps npd validate -k/--hook?
works for me!
from napari-plugin-devtools.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from napari-plugin-devtools.