SpatiumPortae/portal

[feature request] Follow gitignore files

pluja opened this issue · 2 comments

pluja commented

Is your feature request related to a problem? Please describe.
When sending files, there are sometimes that I don't want to add folders (i.e. node_modules)

Describe the solution you'd like
Following a .gitignore file would be a great solution. Maybe adding a --gitignore flag or something like this, that would enable following the gitignore so the files and folders specified there are not sent.

pluja commented

It seems like this feature was added in #99 but this issue hasn't been closed yet.

Is this feature working? I am trying with latest version yet I am unable to get it to work:

portal send ./ --gitignore
Error: unknown flag: --gitignore

It has indeed been implemented and merged into master, but we have not had the time to create a release containing those changes yet.

The feature will be included in the next release. Until then, it should be possible to build from master and run that, since it is an entirely local feature.

Cheers!