Skip to content
This repository has been archived by the owner on Mar 24, 2024. It is now read-only.

Commit

Permalink
Merge pull request #126 from ublue-os/cleanup-0.8.0
Browse files Browse the repository at this point in the history
fix: remove debugging
  • Loading branch information
bketelsen authored Apr 12, 2023
2 parents 5f08d43 + d56eb54 commit 002812d
Show file tree
Hide file tree
Showing 9 changed files with 789 additions and 712 deletions.
663 changes: 338 additions & 325 deletions completions/fleek.bash

Large diffs are not rendered by default.

412 changes: 235 additions & 177 deletions completions/fleek.fish

Large diffs are not rendered by default.

417 changes: 212 additions & 205 deletions completions/fleek.zsh

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions internal/flake/flake.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,6 @@ func (f *Flake) Write(includeSystems bool, message string) error {
}

var bling *fleek.Bling
fmt.Println(f.Config.Bling)
switch f.Config.Bling {
case "high":
bling, err = fleek.HighBling()
Expand All @@ -295,7 +294,7 @@ func (f *Flake) Write(includeSystems bool, message string) error {
if err != nil {
return err
}
fmt.Println(bling.Name)

data := Data{
Config: f.Config,
Bling: bling,
Expand Down Expand Up @@ -463,7 +462,6 @@ func (f *Flake) Apply() error {
func (f *Flake) runNix(cmd string, cmdLine []string) ([]byte, error) {
command := exec.Command(cmd, cmdLine...)
command.Stdin = os.Stdin
fmt.Println(f.Config.UserFlakeDir())
command.Dir = f.Config.UserFlakeDir()
command.Env = os.Environ()
if f.Config.Unfree {
Expand Down
2 changes: 1 addition & 1 deletion internal/fleekcli/eject.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func eject(cmd *cobra.Command) error {
return err
}
// TODO app trans
fin.Info.Println("Run the following commands from the flake directory to apply your changes:")
fin.Info.Println(app.Trans("generate.runFlake"))

for _, system := range fl.Config.Systems {
// nix run --impure home-manager/master -- -b bak switch --flake .#bjk@ghanima
Expand Down
2 changes: 1 addition & 1 deletion internal/fleekcli/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func generate(cmd *cobra.Command) error {
return nil
}
// TODO app trans
fin.Info.Println("Run the following commands from the flake directory to apply your changes:")
fin.Info.Println(app.Trans("generate.runFlake"))

for _, system := range fl.Config.Systems {
// nix run --impure home-manager/master -- -b bak switch --flake .#bjk@ghanima
Expand Down
1 change: 1 addition & 0 deletions locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ generate:
locationFlagDescription: "location of home-manager configuration, relative to home"
levelFlag: "level"
levelFlagDescription: "bling level: `none`,`low`,`default`,`high`"
runFlake: "Run the following commands from the flake directory to apply your changes:"
apply:
use: "apply"
long: |
Expand Down
Binary file modified man/en/man1/fleek.1.gz
Binary file not shown.
Binary file modified man/pt/man1/fleek.1.gz
Binary file not shown.

0 comments on commit 002812d

Please sign in to comment.