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

ieboilstart, adopath() - list commands availible in the project-ado folder #320

Open
kbjarkefur opened this issue Feb 24, 2023 · 3 comments
Labels
enhancement A new feature to be added to command

Comments

@kbjarkefur
Copy link
Contributor

Multi-staged feature request:

  1. List all commands in the project ado-folder
  2. List all commands in used in project code
  3. List commands in project-ado folder not used in code
@kbjarkefur
Copy link
Contributor Author

For 1., this should be possible but it might be tricky to distinguish an ado-file with command that should be listed and an ado-file with a utility command only intended to be used by another command. It might be confusing to show the utility command as well

@kbjarkefur
Copy link
Contributor Author

For 2., requires developing a parser to find what codes are used in the code. That is hard. And it must be able to tell a valid command apart from a syntax error or a typo.

It wont be able to do this by running the code as the command cannot assume to have access to the data the code needs.

@kbjarkefur
Copy link
Contributor Author

For 3, if 1 and 2 are solved this is easy. But solving 1 in a way where utility commands are identified is important, as that utility command is not used in the project code, but is needed to be in the project-ado folder in order for the commands that are used in the project code to run properly.

@kbjarkefur kbjarkefur added the enhancement A new feature to be added to command label Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A new feature to be added to command
Projects
None yet
Development

No branches or pull requests

1 participant