Nothing helps coder be more smarter & less dumber.
Reason this release was yanked:
wrong number
Project description
Nothing (not
)
Nothing help coder be more smarter, some cooler, less dumber. not
.
Inspo & Rationale
Once upon a time we all read this brief article about "do-nothing scripting".
Very cool, but even those scripts take time!
[Juxtapose OG example against Recipe version]
More why:
- Ease automation woes (dotfile scripts lol). Clip your wax wings early before you try to build robots.
- Fast to use! Build these things rampantly at the project level
- Attach them to commit hooks?
- Keep yourself accountable
- Bring consistency to things u do often
- Shareable
Sample
Configure your Recipe as simple yaml mixed with simple Python templating:
---
title: A sample set of do-nothing instructions
# the user will be prompted to provide these values
# and the values will persist through the run
context:
- current_user_name
- what_user_accomplished_today
# a set of steps is most easily represented as block scalar
# each step is simply denoted as a line break
# plain python templates are used to interpolate context
steps: |-
Take a good look at yourself, {current_user_name}.
I heard you accomplished something great today: {what_user_accomplished_today}.
Give yourself a pat on the back!
# https://yaml-multiline.info/#block-scalars
Run it like so:
not do sample
Want a new one?
not new preflight-checks
# drops you into your $EDITOR if that's set
Didn't like how it turned out? That's fine.
not edit preflight-checks
Bigger Example
- Uses dictionary syntax in context
- Higher config
Features
Stylish & Modern
- Pleasant interactivity a-la the Nicest CLI tools
- Colorful & playful since
work_smart == work_less == play_more
- Funky (but standard), highly readable YAML format
- High config
- (Give much more thought to where how & when)
Saving your sweet nothings
- Can be in a project-specific
.nothing/
directory - or system level
~/.nothing
- or as a local
*.not
file
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nothing-cli-0.1.0.tar.gz
(18.8 kB
view details)
Built Distribution
File details
Details for the file nothing-cli-0.1.0.tar.gz
.
File metadata
- Download URL: nothing-cli-0.1.0.tar.gz
- Upload date:
- Size: 18.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.8.2 Darwin/18.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c0c7a872408992e7743be554800143f87434d9f95e311900cca5cb844a5ab27 |
|
MD5 | 93eadf644982035a17eb768e926c9095 |
|
BLAKE2b-256 | 7ee215ddce530f76809c958db0b5ee544c3d44fe9879579f19be53605112442f |
File details
Details for the file nothing_cli-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: nothing_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 23.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.8.2 Darwin/18.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ce05b7c4e1fb98d29f8e1d39471009471d7c0509a6da0155f5e4a763f891cb5 |
|
MD5 | 14524fb1e5c558051c34c8a376e0e6b4 |
|
BLAKE2b-256 | 5f5b2d2241eb4bb95f648be6eb2f82e84d5fb7aedf78cc15803edfb232bdfd56 |