Giter Club home page Giter Club logo

plugin-alias's People

Contributors

kavya-24 avatar tiwarishubham635 avatar

Watchers

 avatar  avatar  avatar  avatar

plugin-alias's Issues

bug: For saleforce CLI, use() is not working properly

Describe the bug
Command alias for Command Use.js (:use) not working

To Reproduce

  1. Install sf cli
  2. Run sf alias:setup, add a couple of arguments {wn : whatsnew}
  3. Run sf use wn

Expected behavior
Recursively calls the command installed with plugin. Should refer to the 'use' of plugin-alias

Screenshots
Command use when installing
Screenshot 2022-07-04 at 3 25 24 PM

Error Recursive
Screenshot 2022-07-04 at 3 26 05 PM

plugin-alias version: 1.2.0

Additional context
No such issues with Twilio CLI

Show suggestions on wrong alias_name

Is your feature request related to a problem? Please describe.
Whenever I type Use, or Delete command with a wrong alias_name, I get alias does not exist. I can be given suggestions based on this

Describe the solution you'd like
Match the prefix, or give the options that match my alias_name query

Describe alternatives you've considered
Listing alias again and again and searching for what is required or rather using command itself

Request for validateFunctions() in use, import

Describe the bug
The use(), import() args do not have validateFunctions()
The result is OCLIF error not custom error

To Reproduce
Steps to reproduce the behavior:

  1. Go to plugin
  2. Run ./bin/run alias:import

Expected behavior
Should return custom error

feat: Convert all commands into lowercase only

Is your feature request related to a problem? Please describe.
This is not a problem, but as we are releasing a plugin from twilio-labs, other plugins which are already there are using the lowercase style only. Thus it will create a uniformity and ease of use for the user as well.

Describe the solution you'd like
The commands like - "alias:Add" can be changed to "alias:add"

Describe alternatives you've considered
We could have ignore it, but it was pointed out by the help-oss team also, so we should address this one.

[FIX]: Change the names in Licence, package.json and Readme.md

Describe the fix
The Licence should have the name as 'Twilio Inc.' While the package.json and readme should have the name as 'twilio-labs'

Expected behavior
These names should be corrected so that we can public the repository

Screenshots
Not Applicable

Desktop (please complete the following information):

  • OS: MacOS
  • Browser: Chrome
  • Version: 103.0.5060.53 (Official Build) (arm64)

Additional context
Not required

feat: Need for custom export path

Is your feature request related to a problem? Please describe.
If we could add a path for exporting the data file

Describe the solution you'd like
Pass as arguments/flags

The automated release is failing 🚨

🚨 The automated release from the main branch failed. 🚨

I recommend you give this issue a high priority, so other packages depending on you can benefit from your bug fixes and new features again.

You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. I’m sure you can fix this πŸ’ͺ.

Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.

Once all the errors are resolved, semantic-release will release your package the next time you push a commit to the main branch. You can also manually restart the failed CI job that runs semantic-release.

If you are not sure how to resolve this, here are some links that can help you:

If those don’t help, or if this issue is reporting something you think isn’t right, you can always ask the humans behind semantic-release.


No npm token specified.

An npm token must be created and set in the NPM_TOKEN environment variable on your CI environment.

Please make sure to create an npm token and to set it in the NPM_TOKEN environment variable on your CI environment. The token must allow to publish to the registry https://registry.npmjs.org/.


Good luck with your project ✨

Your semantic-release bot πŸ“¦πŸš€

[FIX]: Refactor tests

Describe the fix
Make tests more concise

Expected behavior
The tests are too vast

Command duplication check

Is your feature request related to a problem? Please describe.
Not a problem per se. But it makes little sense to have two different aliases for same command.

Describe the solution you'd like
Currently, we are accepting the case when user is saving same command with two different aliases. E.g:
plist: profiles:list
prlist: profiles:list

However it makes less sense to have two different aliases for one single command. Can think of having a bidirectional one-to mapping between aliases and commands.

Describe alternatives you've considered
We considered the alternative of using an update command. Maybe that can be taken in next sprint.

Change the names in Licence, package.json and Readme.md

Describe the bug
The Licence should have the name as 'Twilio Inc.' While the package.json and readme should have the name as 'twilio-labs'

Expected behavior
These names should be corrected so that we can public the repository

feat: Set up commitizen

Is your feature request related to a problem? Please describe.
Use external library commitizen for PR and commit titles

Additional context
Needed for semantic release

docs: Reflecting suggestions and usage in README.md

Describe the need and headers of the documentation
Require the README.md to contain updated commands

Is your need for documentation related to a problem? Please describe.
The behaviour listed in README.md is different from the actual behaviour (success messages, features)

Additional context

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.