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

[Feature Request]: Add new command importer get #76

Open
rytswd opened this issue Oct 19, 2021 · 0 comments
Open

[Feature Request]: Add new command importer get #76

rytswd opened this issue Oct 19, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@rytswd
Copy link
Contributor

rytswd commented Oct 19, 2021

🔮 Relevant Command

New command

🗂 Language Type

All

🔎 Request Details

Rather than using the Importer Marker in file to check whether the target file / marker name / line range is correct or not, Importer should be able to add a support for imperatively running a single command to check the validity.

For example, with YAML definition of

# == import: some-data / begin from: ../../../some/dir/file.yaml#[some-marker] ==
# == import: some-data / end ==

The target file may be incorrect, and you'd only know when you run importer update.

Instead, Importer can add importer get and run it something like

importer get ' ../../../some/dir/file.yaml#[some-marker]'
@rytswd rytswd added the enhancement New feature or request label Oct 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant