Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add ivaaaan/smug #8804

Merged
merged 3 commits into from Dec 30, 2022
Merged

Conversation

ponkio-o
Copy link
Sponsor Contributor

@ponkio-o ponkio-o commented Dec 30, 2022

#8804 ivaaaan/smug: Session manager and task runner for tmux. Start your development environment within one command

$ aqua g -i ivaaaan/smug

How to confirm if this package works well

Reviewers aren't necessarily familiar with this package, so please describe how to confirm if this package works well. Please confirm if this package works well yourself as much as possible.

Command and output

$ smug --help
Smug - tmux session manager. Version v0.3.3


Usage:
        smug <command> [<project>] [-f, --file <file>] [-w, --windows <window>]... [-a, --attach] [-d, --debug] [--detach] [-i, --inside-current-session] [<key>=<value>]...

Options:
        -f, --file A custom path to a config file
        -w, --windows List of windows to start. If session exists, those windows will be attached to current session
        -a, --attach Force switch client for a session
        -i, --inside-current-session Create all windows inside current session
        -d, --debug Print all commands to ~/.config/smug/smug.log
        --detach Detach tmux session. The same as -d flag in the tmux

Commands:
        list    list available project configurations
        edit    edit project configuration
        new     new project configuration
        start   start project session
        stop    stop project session
        print   session configuration to stdout

Examples:
        $ smug list
        $ smug edit blog
        $ smug new blog
        $ smug start blog
        $ smug start blog:win1
        $ smug start blog -w win1
        $ smug start blog:win1,win2
        $ smug stop blog
        $ smug start blog --attach
        $ smug print > ~/.config/smug/blog.yml

If files such as configuration file are needed, please share them.

$ cat blog.yml
session: blog

root: ~/Code/blog

before_start:
  - docker-compose up -d

stop:
  - docker-compose stop

windows:
  - name: code
    layout: main-horizontal
    commands:
      - $EDITOR app/dependencies.php
    panes:
      - type: horizontal
        commands:
          - make run-tests
  - name: ssh
    commands:
      - ssh -i ~/keys/blog.pem ubuntu@127.0.0.1

Reference

[ivaaaan/smug](https://github.com/ivaaaan/smug): Session manager and task runner for tmux. Start your development environment within one command

```console
$ aqua g -i ivaaaan/smug
```

## How to confirm if this package works well

Reviewers aren't necessarily familiar with this package, so please describe how to confirm if this package works well.
Please confirm if this package works well yourself as much as possible.

Command and output

```console
$
```

If files such as configuration file are needed, please share them.

```
```

Reference

-
@suzuki-shunsuke suzuki-shunsuke added the enhancement New feature or request label Dec 30, 2022
@suzuki-shunsuke suzuki-shunsuke added this to the v3.113.0 milestone Dec 30, 2022
@suzuki-shunsuke
Copy link
Member

Thank you always!

rosetta2: true
# only supported amd64
- version_constraint: "true"
supported_envs:
- darwin
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

support darwin/arm64 by Rosetta 2

@suzuki-shunsuke suzuki-shunsuke merged commit b1d44f9 into aquaproj:main Dec 30, 2022
@suzuki-shunsuke
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants