pressly / sup

Super simple deployment tool - think of it like 'make' for a network of servers
https://pressly.github.io/sup
MIT License
2.48k stars 176 forks source link

Change --only to include comments portion ? #164

Open cameronelliott opened 4 years ago

cameronelliott commented 4 years ago

Let's say I have the following in my sup file

  production:
    hosts:
      - root@172.106.9.243  # 2tb ashburn

If I run `sup --only 172.106.9.243 production date', then a match occurs

If I run `sup --only ashburn production date', then a match WILL NOT occur

How do the maintainers feel about a PR to change 'only' so the comments can be matched against?

VojtechVitek commented 4 years ago

Currently, sup doesn't really parse comments at all.