Git Product home page Git Product logo

Comments (5)

domenkozar avatar domenkozar commented on June 13, 2024

Are you using flakes?

❯ devenv up --help
Start processes in the foreground. https://devenv.sh/processes/

Usage: devenv up [OPTIONS] [PROCESS]

Arguments:
  [PROCESS]  Start a specific process.

Options:
  -d, --detach  Start processes in the background.
  -h, --help    Print help

from devenv.

noverby avatar noverby commented on June 13, 2024

Yes, using inputs:

  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
    git-hooks = {
      url = "github:cachix/git-hooks.nix";
      inputs.nixpkgs.follows = "nixpkgs";
    };
    devenv = {
      url = "github:cachix/devenv";
      inputs.nixpkgs.follows = "nixpkgs";
      inputs.pre-commit-hooks.follows = "git-hooks";
    };
  };

I'm getting the output:

❯ devenv up --help
{"level":"warn","error":"open /home/noverby/.config/process-compose/settings.yaml: no such file or directory","time":"2024-04-22T11:17:29+02:00","message":"Error reading settings file /home/noverby/.config/process-compose/settings.yaml"}
Run all the process compose processes.
If one or more process names are passed as arguments,
will start them and their dependencies only

Usage:
  process-compose up [PROCESS...] [flags]

Flags:
  -f, --config stringArray      path to config files to load (env: PC_CONFIG_FILES)
  -h, --help                    help for up
  -d, --hide-disabled           hide disabled processes
  -n, --namespace stringArray   run only specified namespaces (default all)
      --no-deps                 don't start dependent processes
  -r, --ref-rate int            TUI refresh rate in seconds (default 1)
  -R, --reverse                 sort in reverse order
  -S, --sort string             sort column name. legal values (case insensitive): [AGE, EXIT, HEALTH, NAME, NAMESPACE, PID, RESTARTS, STATUS] (default "NAME")
      --theme string            select process compose theme (default "Default")
  -t, --tui                     enable TUI (-t=false) (env: PC_DISABLE_TUI) (default true)

Global Flags:
      --keep-tui             keep TUI running even after all processes exit
  -L, --log-file string      Specify the log file path (env: PC_LOG_FILE) (default "/tmp/nix-shell.o1NNhj/process-compose-noverby.log")

from devenv.

noverby avatar noverby commented on June 13, 2024

Oh, just noticed that we are using the workaround provided by #756, so that is probably why it doesn't support --detach:

packages.devenv-up = {stdenv}: self.devShells.${stdenv.system}.default.config.procfileScript;

from devenv.

domenkozar avatar domenkozar commented on June 13, 2024

Yeah if you'd like to use -d you have to use devenv cli.

from devenv.

noverby avatar noverby commented on June 13, 2024

For ref: process-compose issue to add support for --detach argument: F1bonacc1/process-compose#169

from devenv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.