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.

Feature request: Flag to specify a preset file

See original GitHub issue

This CLI is very … uhm … special. None of the obvious flags do exist 🙈

cat my-preset.json

{
    "t": "monokai",
    "bg": "#ADB7C1",
    "wt": "sharp",
    "wc": true,
    "fm": "Hack",
    "fs": "18px",
    "ln": false,
    "ds": true,
    "dsyoff": "20px",
    "dsblur": "68px",
    "wa": true,
    "lh": "133%",
    "pv": "16",
    "ph": "24",
    "si": false,
    "wm": false,
    "es": "2x",
    "type": "png"
}
carbon-now --preset-path=./my-preset.json test.js

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:14 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
mixncommented, Sep 26, 2018

@ad-si I just published v1.3.0-0. 🙂 Docs are here + warning for non-existent presets included. 👍

screen shot 2018-09-26 at 16 12 46
0reactions
ad-sicommented, Sep 24, 2018

Sounds good! But maybe it should print a warning / error if a config file is specified, but no preset? Or is there a reason why anyone should do it without it being an error?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Set default PDF export preset – Adobe Illustrator
We are asking for a way to set the DEFAULT PDF setting (when saving as from an illustrator document), to be x:1a or...
Read more >
[Feature Request] User-defined THEOS_DEVICE_IP presets ...
I'd imagine that adding device presets would require a small NIC-esque ... device” flag, which would be a file stored in a user-global...
Read more >
Scheduling Presets
Scheduling presets is a feature for injecting certain information into operations at compilation time to extract repetitive configuration for node ...
Read more >
Merge and/or Override flags of different configure presets in ...
I have two configure presets in my CMakePresets.json were I would like to merge the flags of the inherit configurePresets (gcc) with the ......
Read more >
Export Presets | Figma Community
Share them across your files and projects. ... Features. Create, save, and apply custom Export Settings presets. ... Questions or Feature Requests?
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