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

Add shortcuts to command line #28

Closed
mmaximo33 opened this issue Jan 18, 2024 · 1 comment
Closed

Add shortcuts to command line #28

mmaximo33 opened this issue Jan 18, 2024 · 1 comment
Assignees
Labels
01 Scope: EFDE 03 Type: New Feature ➕ Introduction of a completely new addition to the codebase

Comments

@mmaximo33
Copy link
Owner

mmaximo33 commented Jan 18, 2024

Feature Description

Add the possibility that SHORTCUTS can be used

Basically the objective is to discard the interactive menu, as you evolve in learning with EFDE it is no longer necessary, giving the possibility of being able to perform the actions directly without accessing the menu. as an example

# GLOBAL SCOPE
efde efde:config
efde efde:install:symfony
efde efde:install:magento 

# NOT GLOBAL SCOPE
# Symfony 
efde symfony:help
efde symfony:config:show
efde symfony:console
efde symfony:permissions:fix

# mysql
efde mysql:help
efde mysql:env:show
efde mysql:execute:sql
efde mysql:db:import
efde mysql:db:export

Additional context

  • Important, you must keep in mind the scope of the shortcuts
    • Global scope: command executed in a directory not created as an efde implementation
    • Implementation scope: command executed within a directory with efde implementation
  • The shortcut must be directly related to the method
  • It would be interesting if the same arrangement that shows the menu could be used to avoid duplicating code or relationships, avoiding future inconveniences.
@mmaximo33 mmaximo33 added 01 Scope: EFDE 03 Type: New Feature ➕ Introduction of a completely new addition to the codebase labels Jan 18, 2024
@mmaximo33 mmaximo33 self-assigned this Jan 18, 2024
mmaximo33 added a commit that referenced this issue Jan 25, 2024
Refactor core and related elements to be able to receive parameters via shortcuts from the console

- Get shortcuts from the natural menu
- Reception of shortcuts
- search for shortcuts according to parameters
@mmaximo33
Copy link
Owner Author

Done

shortcuts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
01 Scope: EFDE 03 Type: New Feature ➕ Introduction of a completely new addition to the codebase
Projects
None yet
Development

No branches or pull requests

1 participant