Comments (2)
@miguelmich you're happy with the command itself on the #6 ? it's just the implementation you don't like?
from jira-cli.
@fluffels yes, I think there is a better way to handle multiple accounts, the main idea that I have in mind is to save an array of the current credentials object and then it will be easy to "activate" one of those instances like, for example, jira config switch
and then display a prompt with the current options.
Apart from this, the implementation that you did looks good, but it should be located in a method inside the config class and not inside the jira.js class which acts like some kind of "command router" between the commander index and the different classes.
The roadmap in order to make this new feature works could be:
- Add a command to setup multiple accounts using the current config file, and set an "active" parameter which determinates the active instance
- Modify the current init method in order to get the "active" instance and load it from the start
- Add config commands to modify & remove the different instances
from jira-cli.
Related Issues (20)
- Unable to create issue due to additional required fields HOT 5
- Transition name is ignored when passed to `jira i <name> --transition` HOT 5
- Adding label option when creating task
- jira issue create: seems like an invalid command HOT 1
- Allow connection to server using self-signed cert
- Allow to select user when assigning an issue HOT 1
- Any chance we can get a new release?
- Can't assign issue with GDPR strict mode on
- `jira issue $ISSUE_NAME` -> TypeError
- jira show [ISSUE] shows raw text and markup
- GPDR strict mode
- 1.2.1 is a breaking change
- Trouble installing after cloning HOT 1
- Saved credentials must be in directory from which jira cli is executed
- [Feature request] Add option to export pure text, without decoration like table or color
- "npm WARN" deprecated dependencies listed when installing
- [bug] output is broken
- can it be converted into a binary release instead of using a nodejs runtime?
- Json (yaml) structured output.
- Access to local hosted server with token fails unless anonymous 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 jira-cli.