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

Support remote configuration files #13488

Closed
kitsonk opened this issue Jan 25, 2022 · 4 comments
Closed

Support remote configuration files #13488

kitsonk opened this issue Jan 25, 2022 · 4 comments
Labels
cli related to cli/ dir suggestion suggestions for new features (yet to be agreed)

Comments

@kitsonk
Copy link
Contributor

kitsonk commented Jan 25, 2022

Especially when using a remote main module, it can be very beneficial to support a remote --config/-c file, especially when you want a one liner without pre-installing anything locally.

@kitsonk kitsonk added cli related to cli/ dir suggestion suggestions for new features (yet to be agreed) labels Jan 25, 2022
@hazelnutcloud
Copy link

Stumbled into this problem today. Built a CLI tool that required its config file to work properly because of an NPM dependancy. would be nice to do specify the config file from a remote resource when running the deno install command

@lino-levan
Copy link
Contributor

Over at Pyro, I have to use an install script for this (https://github.com/lino-levan/pyro/blob/main/install.ts). This would be nice.

@cknight
Copy link
Contributor

cknight commented Sep 23, 2023

I've just run into this problem myself trying to run a remotely hosted Fresh application locally. As Fresh applications have a deno.json file by default that means none of them are runnable locally as a one-liner without cloning the repo or unpicking the deno.json file in your application.

@lucacasonato
Copy link
Member

We are not going to do this in this way - config files are too tied to the file system for this, take for example file ignore configuration.

If someone has alternative ideas for sharing lint / fmt config, let's open a different issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli related to cli/ dir suggestion suggestions for new features (yet to be agreed)
Projects
None yet
Development

No branches or pull requests

5 participants