ftxt 0.2.0__tar.gz → 0.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ftxt-0.2.0 → ftxt-0.2.2}/PKG-INFO +2 -2
- {ftxt-0.2.0 → ftxt-0.2.2}/pyproject.toml +6 -3
- ftxt-0.2.2/src/ftxt/__init__.py +1 -0
- {ftxt-0.2.0 → ftxt-0.2.2}/src/ftxt/cli.py +22 -9
- {ftxt-0.2.0 → ftxt-0.2.2}/src/ftxt.egg-info/PKG-INFO +2 -2
- ftxt-0.2.0/src/ftxt/__init__.py +0 -1
- {ftxt-0.2.0 → ftxt-0.2.2}/README.md +0 -0
- {ftxt-0.2.0 → ftxt-0.2.2}/setup.cfg +0 -0
- {ftxt-0.2.0 → ftxt-0.2.2}/src/ftxt.egg-info/SOURCES.txt +0 -0
- {ftxt-0.2.0 → ftxt-0.2.2}/src/ftxt.egg-info/dependency_links.txt +0 -0
- {ftxt-0.2.0 → ftxt-0.2.2}/src/ftxt.egg-info/entry_points.txt +0 -0
- {ftxt-0.2.0 → ftxt-0.2.2}/src/ftxt.egg-info/top_level.txt +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ftxt
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: Strict codebase-to-text bundler with in-place updates and ACID guarantees.
|
|
5
5
|
Author: germanter
|
|
6
|
-
License: MIT
|
|
6
|
+
License-Expression: MIT
|
|
7
7
|
Classifier: Programming Language :: Python :: 3
|
|
8
8
|
Classifier: Environment :: Console
|
|
9
9
|
Classifier: Operating System :: OS Independent
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
[build-system]
|
|
2
|
-
requires = ["setuptools>=
|
|
2
|
+
requires = ["setuptools>=77.0"]
|
|
3
3
|
build-backend = "setuptools.build_meta"
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "ftxt"
|
|
7
|
-
|
|
7
|
+
dynamic = ["version"]
|
|
8
8
|
description = "Strict codebase-to-text bundler with in-place updates and ACID guarantees."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
authors = [{ name = "germanter" }]
|
|
11
|
-
license =
|
|
11
|
+
license = "MIT"
|
|
12
12
|
requires-python = ">=3.10"
|
|
13
13
|
classifiers = [
|
|
14
14
|
"Programming Language :: Python :: 3",
|
|
@@ -20,5 +20,8 @@ classifiers = [
|
|
|
20
20
|
[project.scripts]
|
|
21
21
|
ftxt = "ftxt.cli:main"
|
|
22
22
|
|
|
23
|
+
[tool.setuptools.dynamic]
|
|
24
|
+
version = { attr = "ftxt.__version__" }
|
|
25
|
+
|
|
23
26
|
[tool.setuptools.packages.find]
|
|
24
27
|
where = ["src"]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.2.2"
|
|
@@ -325,17 +325,30 @@ def cmd_write(args: list[str]) -> None:
|
|
|
325
325
|
|
|
326
326
|
def cmd_help() -> None:
|
|
327
327
|
help_text = (
|
|
328
|
-
"
|
|
329
|
-
"
|
|
330
|
-
"
|
|
331
|
-
"
|
|
332
|
-
"
|
|
328
|
+
"rules:\n"
|
|
329
|
+
" every path resolves from the root (where ftxt was started)\n"
|
|
330
|
+
" a file name containing '/' ignores the selected folder, selects its parent folder\n"
|
|
331
|
+
" e.g. writo out/out1 main/a.js selects folder 'out' and file 'out1.txt'\n"
|
|
332
|
+
"\n"
|
|
333
|
+
"folders:\n"
|
|
334
|
+
" cd <folder> Select folder, 'cd .' returns to root (alias: selectfolder)\n"
|
|
335
|
+
" mkdirc <folder> Create folder from root, auto-indexed, selection unchanged\n"
|
|
336
|
+
" (aliases: mkdir, openfolder, createfolder)\n"
|
|
337
|
+
"\n"
|
|
338
|
+
"files:\n"
|
|
333
339
|
" mkf <name> Create indexed .txt file and select it (alias: openfile)\n"
|
|
334
|
-
" rmf <target> Delete .txt file (alias: delfile)\n"
|
|
335
|
-
" writo <target> [paths...] Select .txt file, optionally write
|
|
336
|
-
" write to <target> [paths..]
|
|
340
|
+
" rmf <target> Delete .txt file, selection unchanged (alias: delfile)\n"
|
|
341
|
+
" writo <target> [paths...] Select .txt file (created if missing), optionally write paths\n"
|
|
342
|
+
" write to <target> [paths..] Same as writo\n"
|
|
337
343
|
" write <path...> Write/update paths into the selected .txt file\n"
|
|
338
|
-
" inspect [target] List records
|
|
344
|
+
" inspect [target] List records, selects the file\n"
|
|
345
|
+
"\n"
|
|
346
|
+
"record format:\n"
|
|
347
|
+
" >---\n"
|
|
348
|
+
" > main/stuff.js\n"
|
|
349
|
+
" <content>\n"
|
|
350
|
+
" >---\n"
|
|
351
|
+
"\n"
|
|
339
352
|
" help Show manual\n"
|
|
340
353
|
" exit Terminate session (alias: quit)"
|
|
341
354
|
)
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ftxt
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: Strict codebase-to-text bundler with in-place updates and ACID guarantees.
|
|
5
5
|
Author: germanter
|
|
6
|
-
License: MIT
|
|
6
|
+
License-Expression: MIT
|
|
7
7
|
Classifier: Programming Language :: Python :: 3
|
|
8
8
|
Classifier: Environment :: Console
|
|
9
9
|
Classifier: Operating System :: OS Independent
|
ftxt-0.2.0/src/ftxt/__init__.py
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.2.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|