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

Export commands should accept output file as parameter #82

Open
4 tasks done
edno opened this issue Feb 21, 2019 · 2 comments
Open
4 tasks done

Export commands should accept output file as parameter #82

edno opened this issue Feb 21, 2019 · 2 comments

Comments

@edno
Copy link
Owner

edno commented Feb 21, 2019

Export commands should accept an optional parameter for customised export filename and path.

  • php artisan export:accounts
  • php artisan export:categories
  • php artisan export:groups
  • php artisan export:whitelist
@edno
Copy link
Owner Author

edno commented Mar 10, 2019

Also supported by command export.

If file exists at target location, then confirmation is requested.

$ php artisan export /tmp 
 1/1 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%


 Overwrite existing '/tmp/accounts/accounts.txt' ? (yes/no) [no]:
 > 

Using --cli overwrites target location by default.

edno added a commit that referenced this issue Mar 10, 2019
@edno
Copy link
Owner Author

edno commented Mar 10, 2019

Tests to be implemented before closing this ticket

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant