tryabby / abby

Open-Source Feature Flags, Remote Config & A/B Tests for Developers โ›ณ๐Ÿงช
https://www.tryabby.com
GNU Affero General Public License v3.0
143 stars 19 forks source link

feat(cli): implement add flag and config commands #81

Closed CakeWithDivinity closed 10 months ago

CakeWithDivinity commented 1 year ago

See #80

The commands look like this: image

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git โ†—๏ธŽ

Name Status Preview Comments Updated (UTC)
abby-docs โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Jan 7, 2024 3:46pm
abby-opensource โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Jan 7, 2024 3:46pm
cstrnt commented 1 year ago

Screenshot 2023-10-16 at 09 15 41 Something is still odd with the formatting after the file gets updated @CakeWithDivinity

CakeWithDivinity commented 1 year ago

@cstrnt Should be fixed now. We now only replace newlines in the defineConfig(...) part. The issue was that when the newlines were missing in the first line, it was still a correctly formatted file for prettier. This way, this should only happen in the part of the file that we actually want to edit.

cstrnt commented 10 months ago

Current dependencies on/for this PR:

This stack of pull requests is managed by Graphite.