Comments (4)
Adding more commands to manage configuration
For example, commands to manage endpoints (from #9)
graphql endpoint add
(with the currentadd-endpoint
as alias for backwards compatibility)graphql endpoint set header
graphql endpoint remove header
graphql endpoint set url
Also, add the option to ask for or specify headers on add-endpoint
/endpoint add
.
from graphql-cli.
I see that some of the ideas might apply, however it will be better to have them logged as separate issues. Closing but feel free to reopen or create separate issue with idea that our team can implement
from graphql-cli.
Passing context to commands
The current implementation using a custom handler wrapper to pass in context to the commands. This makes it harder to work with the standard CommandObject
interface, and it also makes it harder to test individual commands in isolation.
Yargs offers a standard way of passing context to commands, using the parse
function that I think should be used instead of the custom handler wrapper.
from graphql-cli.
If we add a watch mode, I think it would be good to clear the console before downloading any changes. This helps clear the air on if there are any errors from one download to the next.
from graphql-cli.
Related Issues (20)
- Automatic releases of the GraphQL-CLI HOT 13
- har-validator error not found module har-validator\lib\promise.js
- Seems to be broken if you use with other CLI tools while using PNPM as package manager HOT 4
- Support for .graphqlrc.js HOT 1
- text defect HOT 4
- Action Required: Fix Renovate Configuration
- 'UNABLE_TO_GET_ISSUER_CERT_LOCALLY' with using npx graphql-cli init
- graphql accepts arbitrary commands without throwing HOT 1
- Environment variables don't work within the .graphqlrc.yml or .graphqlrc.json HOT 5
- Great library
- Commands silently fail HOT 3
- Fix vulnerable dependencies HOT 1
- TypeError: loader.loaderId is not a function HOT 9
- Dependency Dashboard
- Added AUR package
- graphql codegen init missing plugin
- `utils.memoize2of4` is not a function HOT 1
- Duplicate identifier error in generated types file graphql.ts
- Support graphql 16
- Deprecated status HOT 1
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 graphql-cli.