Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@tighten/takeout
Advanced tools
Docker-based development-only dependency management.
NOTE: This branch is for the Node port. We've never written Node CLI apps. It's gonna take a while.
Takeout is a CLI tool for spinning up tiny Docker containers, one for each of your development environment dependencies.
It's meant to be paired with a tool like Laravel Valet. It's currently compatible with macOS, Linux, and WSL2.
With takeout enable mysql
you're running MySQL, and never have to worry about managing or fixing Homebrew MySQL again.
But you can also easily enable ElasticSearch, PostgreSQL, MSSQL, Mongo, Redis, and more, with a simple command. See the full list here: TODO
Run takeout
and then a command name from anywhere in your terminal.
One of Takeout's primary benefits is that it boots ("enables") or deletes ("disables") Docker containers for your various dependencies quickly and easily.
Because Docker offers persistent volume storage, deleting a container (which we call "disabling" it) doesn't actually delete its data. That means you can enable and disable services with reckless abandon.
$ npm install -g @tighten/takeout
$ takeout COMMAND
running command...
$ takeout (-v|--version|version)
@tighten/takeout/2.0.0-alpha.1 darwin-x64 node-v11.6.0
$ takeout --help [COMMAND]
USAGE
$ takeout COMMAND
...
takeout help [COMMAND]
display help for takeout
USAGE
$ takeout help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
takeout list
List the Takeout-enabled containers.
USAGE
$ takeout list
OPTIONS
-h, --help Show CLI help
-j, --json Return as JSON
See code: src/commands/list.ts
takeout start [CONTAINER]
Start a stopped container.
USAGE
$ takeout start [CONTAINER]
OPTIONS
-h, --help show CLI help
See code: src/commands/start.ts
Show a list of all services you can enable.
takeout enable
Passed the short name of one or more services, enable them.
takeout enable mysql
takeout enable redis meilisearch
If you want to skip over being asked for each parameter and just accept the defaults. This also works with multiple services in one command.
takeout enable mysql --default
takeout enable redis meilisearch --default
Show a list of all enabled services you can disable.
takeout disable
Passed the short name of one or more services, disable the enabled services that match them most closely.
takeout disable mysql
takeout disable redis meilisearch
takeout disable --all
Show a list of all stopped containers you can start.
takeout start
Passed the container ID of stopped container, start the stopped container which matches it.
takeout start {container_id}
Show a list of all running containers you can stop.
takeout stop
Passed the container ID of running container, stop the running container which matches it.
takeout stop {container_id}
Another of Takeout's benefits is that it allows you to have multiple versions of a dependency installed and running at the same time. That means, for example, that you can run both MySQL 5.7 and 8.0 at the same time, on different ports.
Run takeout enable mysql
twice; the first time, you'll want to choose the default port (3306
) and the first version (5.7
), and the second time, you'll want to choose a second port (3307
), the second version (8.0
) and a different volume name (so that they don't share the same mysql_data
).
Now, if you run takeout list
, you'll see both services running at the same time.
+--------------+----------------+---------------+-----------------------------------+
| CONTAINER ID | NAMES | STATUS | PORTS |
+--------------+----------------+---------------+-----------------------------------+
| 4bf3379ab2f5 | TO--mysql--5.7 | Up 2 seconds | 33060/tcp, 0.0.0.0:3306->3306/tcp |
| 983acf46ceef | TO--mysql--8.0 | Up 35 seconds | 33060/tcp, 0.0.0.0:3307->3306/tcp |
+--------------+----------------+---------------+-----------------------------------+
FAQs
Docker-based development-only dependency manager.
The npm package @tighten/takeout receives a total of 1 weekly downloads. As such, @tighten/takeout popularity was classified as not popular.
We found that @tighten/takeout demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.