manage add comments
This commit is contained in:
parent
5b8628ec67
commit
a1e843a29d
@ -46,6 +46,10 @@
|
||||
{
|
||||
"package": "linearmouse",
|
||||
"link": { "from": "macos/linearmouse", "to": "~/.config/linearmouse" }
|
||||
},
|
||||
{
|
||||
"package": "rectangle",
|
||||
"link-comment": "Needs manual import from config/macos/linearmouse"
|
||||
}
|
||||
],
|
||||
"linux-vm": [
|
||||
|
||||
@ -97,6 +97,9 @@ def link_environment(config, env, **kwargs):
|
||||
for package in packages:
|
||||
print(f"[{package['name']}]")
|
||||
|
||||
if "link-comment" in package:
|
||||
print(f"\t> Comment: {package['link-comment']}")
|
||||
|
||||
if "link" not in package:
|
||||
print("\t> Skipped: No link entry")
|
||||
continue
|
||||
@ -137,6 +140,9 @@ def install_environment(config, env, **kwargs):
|
||||
for package in packages:
|
||||
print(f"[{package['name']}]")
|
||||
|
||||
if "install-comment" in package:
|
||||
print(f"\t> Comment: {package['install-comment']}")
|
||||
|
||||
if "install" not in package:
|
||||
print("\t> Skipped: No install entry")
|
||||
continue
|
||||
|
||||
Loading…
Reference in New Issue
Block a user