Pavel Djundik
ba002cca64
Merge pull request #1708 from thelounge/astorije/thelounge
...
Switch CLI tool from `lounge` to `thelounge`, deprecate `lounge`
2017-11-27 13:58:46 +02:00
Jérémie Astori
aca23257ed
Switch CLI tool from lounge
to thelounge
and deprecate lounge
...
This is in preparation of The Lounge v3 which will make `thelounge` uniform across the entire project. No more confusion!
2017-11-22 16:37:26 -05:00
Jérémie Astori
827f1dab96
Deprecate LOUNGE_HOME env var in favor of THELOUNGE_HOME, .lounge_home file in favor of .thelounge_home
...
This is one more step towards uniformization of lounge/thelounge due with The Lounge v3.
2017-11-21 00:36:26 -05:00
Pavel Djundik
adab03f730
Fix test
2017-11-19 19:43:43 +02:00
Jérémie Astori
ef1c59072c
Deprecate support of Node v4 in preparation of The Lounge v3
2017-11-18 13:52:31 -05:00
Pavel Djundik
416ebf97ff
Create 'lounge install' command
2017-09-20 10:59:06 +03:00
Pavel Djundik
252dca3d3f
Only create config folder in 'start' command
...
Fixes #520 .
Fixes #1288 .
2017-08-26 12:04:13 -04:00
Jérémie Astori
ac3ce74343
Read default LOUNGE_HOME from .lounge_home file
2017-08-21 02:03:40 -04:00
Jérémie Astori
98bfe349d9
Add documentation for LOUNGE_HOME environment variable in the CLI helper
2017-08-21 01:49:32 -04:00
Jérémie Astori
507cc61d5c
Rename new file holding config location for consistency
...
`.lounge_config` is misleading as this file does not contain the config itself. Also, env var is called `LOUNGE_HOME`, deprecated flag is `--home`, so it makes more sense that way.
2017-08-16 00:34:29 -04:00
Jérémie Astori
5e7a7a3870
Update CLI help with regard to recent deprecation of --home
option
...
- Mark the option as deprecated (cannot be removed from the help, unfortunately)
- Add details to `lounge config` regarding `LOUNGE_HOME`
- Remove mention of `--home` in default config file
2017-08-16 00:33:33 -04:00
Pavel Djundik
5299d976c0
Use .lounge_config to help distribution packages handle config paths right
2017-08-15 21:57:47 +03:00
Jérémie Astori
1c732ffc5b
Fix -h
help option alias shadowed by a similar alias for --home
...
In v2.2.1 (and in pretty much every software out there, really), `-h` was an alias of `--help`. By adding it as an alias of `--home`, it is now shown twice in the help.
2017-03-13 01:06:11 -04:00
Matthew Saunders
86ed0b6e59
Update arg parsing and default 'lounge' to 'lounge --help'
2017-03-04 15:58:44 -05:00
Jérémie Astori
baf3348cda
Normalize colors and content of the CLI tools
2016-12-15 01:13:43 -05:00
William Boman
99218341ec
consolidate version numbers throughout all interfaces
2016-10-10 21:56:57 +02:00
Jérémie Astori
caa46042bf
Enforce strict mode across all JS files with ESLint
...
Several ES6 additions are only available in strict mode. Example:
> SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
Strict mode was also enabled in a few of our files already, and it is a good thing to have anyway.
2016-10-09 15:14:02 -04:00
William Boman
4a75a04402
command-line: fall back to LOUNGE_HOME env variable
2016-06-13 20:22:58 +02:00
Daniel
3a2d97af6a
Supersede mkdirp with fs-extra.
...
Ensure USERS_PATH exists at start.
Remove unnecessary USER_PATH check.
Use fs-extra's copy to write default config.
2016-06-11 19:35:40 +01:00
Pavel Djundik
dcec9f3c37
Fix overriding home folder
2016-05-15 17:02:53 -04:00
Jérémie Astori
fe85873f1e
Replace all concatenated paths with Node's path.join
2016-05-15 17:01:10 -04:00
Pavel Djundik
d9a0dd9406
Use lowercase global
...
GLOBAL shows a deprecated warning in node 6
2016-04-28 21:36:09 +03:00
Jérémie Astori
21fb0e0709
Merge pull request #257 from thelounge/xpaw/console-log
...
Add global logging helper
2016-04-27 02:43:54 -04:00
Jérémie Astori
1150d646cb
Merge pull request #205 from maxpoulin64/I-194
...
Restrict access to the home directory by default
2016-04-27 02:25:30 -04:00
Pavel Djundik
ede3131168
Add global logging helper
2016-04-27 00:05:55 +03:00
Pavel Djundik
f4ac2aad19
Fix loading config before HOME variable is set
2016-04-19 23:58:49 +03:00
Maxime Poulin
346fb83abe
Restrict access to the home directory by default
...
Follow up on #165
Closes #194
2016-03-19 18:59:45 -04:00
Mattias Erming
4d525eba88
Fix config
2014-11-06 11:48:10 +00:00
Mattias Erming
e914ed50eb
Fix '--home' option
2014-10-14 22:53:26 +02:00
Mattias Erming
377e778f5d
Move config.js
2014-10-14 21:10:09 +02:00
Mattias Erming
2ed7d6364c
Added '--home <path>' option
2014-10-03 16:33:44 -07:00
Mattias Erming
7defba55eb
Added '-v, --version' option
2014-09-15 12:51:04 -07:00
Mattias Erming
d53c0716e6
Added 'shout reset' command
2014-09-11 14:00:18 -07:00
Mattias Erming
90cce21e3a
Minor changes
2014-08-26 11:15:17 -07:00
Mattias Erming
6be53fba43
Rename cli folder
2014-08-25 02:40:13 -07:00