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.
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ftxt
3
- Version: 0.2.0
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>=61.0"]
2
+ requires = ["setuptools>=77.0"]
3
3
  build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "ftxt"
7
- version = "0.2.0"
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 = { text = "MIT" }
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
- "all paths resolve from the root (where ftxt was started)\n"
329
- "a name with '/' ignores the selected folder and selects its parent folder\n"
330
- "commands:\n"
331
- " cd <folder> Select folder (alias: selectfolder)\n"
332
- " mkdirc <folder> Create folder from root, auto-indexed (aliases: mkdir, openfolder, createfolder)\n"
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/update paths into it\n"
336
- " write to <target> [paths..] Equivalent to writo\n"
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 inside .txt file\n"
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.0
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 +0,0 @@
1
- __version__ = "0.2.0"
File without changes
File without changes
File without changes