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

Suggest --link for COPY instructions #118

Open
rcjsuen opened this issue Sep 9, 2023 · 0 comments
Open

Suggest --link for COPY instructions #118

rcjsuen opened this issue Sep 9, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@rcjsuen
Copy link
Owner

rcjsuen commented Sep 9, 2023

We should suggest --link as well.

const lib = require("dockerfile-language-service");
const service = lib.DockerfileLanguageServiceFactory.createLanguageService();
const items = service.computeCompletionItems(`FROM alpine\nCOPY --`, { line: 1, character: 7 });
items.forEach((item) => console.log(item.label));
--chown=
--from=
@rcjsuen rcjsuen added the enhancement New feature or request label Sep 9, 2023
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