question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

-A flag (--config flag?) doesn’t work

See original GitHub issue

Describe the bug

denon run -A --config tsconfig.json main.ts

The above command will error:

[!] [conf] unsupported configuration `-A`

If I remove the -A flag the above command will error:

[!] [conf] unsupported configuration `--config`

To Reproduce Run the command.

Expected behavior All flags passed to denon work like deno.

Configuration or Project If applicable, add your denon configuration file or project so we can accurately test our solution.

Screenshots If applicable, add screenshots to help explain your problem.

Setup (Edited for upgrade)

  • OS: macOS mojave 10.14.6
  • Deno version: 1.3.0
  • Denon version: 2.3.2-master

Additional context Sorry if this was solved already, just wanted to log it while I was crawling the information superhighway.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
notfilippocommented, Aug 19, 2020

You are on a previous version of denon (2.3.1), you should probably upgrade to the latest version (denon --upgrade).

If the error persist please let me know 🌈

0reactions
eliassjogreencommented, Dec 7, 2020

Create a pr for it if you want it reverted as i don’t really know what exactly you want done. This issue should really be resolved by renaming denons --config flag to something like denon-config or we could do something which would be kinda hard but smart which is to just look at the provided config and if it looks like a denon config treat it as such otherwise revert back to using it as a tsconfig

Read more comments on GitHub >

github_iconTop Results From Across the Web

Flags binding doesn't work when trying to bind a flag ... - GitHub
BindPFlag("config.env-file", flags. ... Flags binding doesn't work when trying to bind a flag to a nested key #1072. Open.
Read more >
Application doesn't load azure app config feature flag value ...
I've successfully setup getting config values, however it doesn't find my feature flag. When I inject an IConfiguration and query the value ...
Read more >
Feature flags - GitLab Docs
Select Create feature flag. To change these settings, select Edit ( ). next to any feature flag in the list. Maximum number of...
Read more >
Feature flags - Optimizely
Enabling or disabling new features using feature flags is as easy as toggling it on or off or editing a config file vs...
Read more >
Inferring flags from a config file - General - Guild AI
From inside my train.py , I am doing yaml.load(open("train_config.yaml") to get all the param values. However, when I do guild view , it ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found