spreen-wiki 0.2.0 → 0.3.0
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.
- checksums.yaml +4 -4
- data/LICENSE.txt +0 -0
- data/README.md +6 -6
- data/lib/spreen-wiki.rb +0 -0
- data/lib/spreen_wiki/application.rb +0 -0
- data/lib/spreen_wiki/cli.rb +5 -5
- data/lib/spreen_wiki/configuration.rb +0 -0
- data/lib/spreen_wiki/home.rb +0 -0
- data/lib/spreen_wiki/sidebar.rb +0 -0
- data/lib/spreen_wiki/templates/category/english.md +0 -0
- data/lib/spreen_wiki/templates/category/japanese.md +0 -0
- data/lib/spreen_wiki/templates/owner/english.md +0 -0
- data/lib/spreen_wiki/templates/owner/japanese.md +0 -0
- data/lib/spreen_wiki/unknown_wiki_count_list_exporter.rb +0 -0
- data/lib/spreen_wiki/unknown_wiki_list_exporter_for_llm.rb +0 -0
- data/lib/spreen_wiki/version.rb +1 -1
- data/lib/spreen_wiki.rb +0 -0
- data/sig/generated/spreen-wiki.rbs +0 -0
- data/sig/generated/spreen_wiki/application.rbs +0 -0
- data/sig/generated/spreen_wiki/cli.rbs +2 -2
- data/sig/generated/spreen_wiki/configuration.rbs +0 -0
- data/sig/generated/spreen_wiki/home.rbs +0 -0
- data/sig/generated/spreen_wiki/sidebar.rbs +0 -0
- data/sig/generated/spreen_wiki/unknown_wiki_count_list_exporter.rbs +0 -0
- data/sig/generated/spreen_wiki/unknown_wiki_list_exporter_for_llm.rbs +0 -0
- data/sig/generated/spreen_wiki/version.rbs +0 -0
- data/sig/generated/spreen_wiki.rbs +0 -0
- data/sig/generated/test/application_test.rbs +0 -0
- data/sig/generated/test/configuration_test.rbs +0 -0
- data/sig/generated/test/home_test.rbs +0 -0
- data/sig/generated/test/sidebar_test.rbs +0 -0
- data/sig/generated/test/unknown_wiki_count_list_exporter_test.rbs +0 -0
- data/sig/generated/test/unknown_wiki_list_exporter_for_llm_test.rbs +0 -0
- metadata +3 -3
- /data/exe/{spreen → wiki-organise} +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f715a70ddf41d9c1f3d626b7845ca4804f9ee554ba96c1b2b845a68cd0b34c8b
|
|
4
|
+
data.tar.gz: edfd0f15cded8d7c4bfb784297369fb179e822cdc5b0c7d66e8c841cb9477307
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8cbd2a919409f981278bf9f9bc323be118f7a510b8fb22ccf49ba9e7951e0e7b69d63be8ef16397556273ae201fb34c06b8db7b5a5d198fbaff5af23a6cb76dc
|
|
7
|
+
data.tar.gz: 3653cc1b965c4ff1e8b7a2330390de910617362209e3c0de5f87b0dd0a689f064b07a3e884719349809a06e493b860f46296a87cc768fb0cd4a133022ec60f61
|
data/LICENSE.txt
CHANGED
|
File without changes
|
data/README.md
CHANGED
|
@@ -14,21 +14,21 @@ Requires Ruby 3.4+.
|
|
|
14
14
|
|
|
15
15
|
```command
|
|
16
16
|
$ cd path/to/your-repo.wiki
|
|
17
|
-
$
|
|
17
|
+
$ wiki-organise update --path . --org your-org --repo your-repo
|
|
18
18
|
Updated Home.md and _Sidebar.md.
|
|
19
19
|
Check them out at 'https://github.com/your-org/your-repo/wiki' !!
|
|
20
20
|
|
|
21
|
-
$
|
|
21
|
+
$ wiki-organise count-report --path .
|
|
22
22
|
Unknown Owner nor Necessity: 1
|
|
23
23
|
Unowned but Necessary: 1
|
|
24
24
|
Unowned: 10
|
|
25
25
|
Exported the unknown wiki count report to './unknown_wiki_count_list_by_namespace.txt'.
|
|
26
26
|
|
|
27
|
-
$
|
|
27
|
+
$ wiki-organise llm-export --path .
|
|
28
28
|
Exported the unknown wiki list for LLM to './unknown_wiki_list_for_llm.txt'.
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
Common flags (see `
|
|
31
|
+
Common flags (see `wiki-organise <command> --help`): `--group-by Owner|Category`, `--language English|Japanese`, `--overflow` (split Home into per-namespace pages under `wikis-by-owner/`), `--template-dir`, `--config`, `--exclude`, `--output`, `--wiki-url`.
|
|
32
32
|
|
|
33
33
|
Persistent settings, custom labels and additional languages go into a [`.spreen.yml`](../README.md#4-configuration) at the wiki root.
|
|
34
34
|
|
|
@@ -50,8 +50,8 @@ All classes accept `base_path:`, `group_by:`, `language:`, `home_overflow:` plus
|
|
|
50
50
|
### 4-1. Environment
|
|
51
51
|
|
|
52
52
|
- Ruby 4.0.6
|
|
53
|
-
- Gemfile 4.0.
|
|
54
|
-
- Bundler 4.0.
|
|
53
|
+
- Gemfile 4.0.17
|
|
54
|
+
- Bundler 4.0.17
|
|
55
55
|
|
|
56
56
|
```command
|
|
57
57
|
$ bundle install
|
data/lib/spreen-wiki.rb
CHANGED
|
File without changes
|
|
File without changes
|
data/lib/spreen_wiki/cli.rb
CHANGED
|
@@ -9,11 +9,11 @@ require_relative 'unknown_wiki_count_list_exporter'
|
|
|
9
9
|
require_relative 'unknown_wiki_list_exporter_for_llm'
|
|
10
10
|
|
|
11
11
|
module SpreenWiki
|
|
12
|
-
# Command line interface behind the `
|
|
13
|
-
# `
|
|
12
|
+
# Command line interface behind the `wiki-organise` executable:
|
|
13
|
+
# `wiki-organise <update|count-report|llm-export> [options]`.
|
|
14
14
|
class CLI
|
|
15
15
|
HELP = <<~HELP
|
|
16
|
-
Usage:
|
|
16
|
+
Usage: wiki-organise <command> [options]
|
|
17
17
|
|
|
18
18
|
Commands:
|
|
19
19
|
update Regenerate Home.md and _Sidebar.md from the wiki tree
|
|
@@ -21,7 +21,7 @@ module SpreenWiki
|
|
|
21
21
|
llm-export Export the unknown-namespace wiki list for an LLM
|
|
22
22
|
version Print the version
|
|
23
23
|
|
|
24
|
-
Run `
|
|
24
|
+
Run `wiki-organise <command> --help` to list the command's options.
|
|
25
25
|
HELP
|
|
26
26
|
|
|
27
27
|
# Flags shared by every command, mapped to the keyword arguments of the
|
|
@@ -122,7 +122,7 @@ module SpreenWiki
|
|
|
122
122
|
# @rbs command: String
|
|
123
123
|
# @rbs return: OptionParser
|
|
124
124
|
def parser(command)
|
|
125
|
-
OptionParser.new("Usage:
|
|
125
|
+
OptionParser.new("Usage: wiki-organise #{command} [options]") do |opt|
|
|
126
126
|
add_common_options(opt)
|
|
127
127
|
add_command_options(opt, command)
|
|
128
128
|
end
|
|
File without changes
|
data/lib/spreen_wiki/home.rb
CHANGED
|
File without changes
|
data/lib/spreen_wiki/sidebar.rb
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/lib/spreen_wiki/version.rb
CHANGED
data/lib/spreen_wiki.rb
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Generated from lib/spreen_wiki/cli.rb with RBS::Inline
|
|
2
2
|
|
|
3
3
|
module SpreenWiki
|
|
4
|
-
# Command line interface behind the `
|
|
5
|
-
# `
|
|
4
|
+
# Command line interface behind the `wiki-organise` executable:
|
|
5
|
+
# `wiki-organise <update|count-report|llm-export> [options]`.
|
|
6
6
|
class CLI
|
|
7
7
|
HELP: ::String
|
|
8
8
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: spreen-wiki
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- hayat01sh1da
|
|
@@ -14,13 +14,13 @@ description: Spreen — the falcon's stoop, then the preen. Generates Home.md an
|
|
|
14
14
|
line of each page (English and Japanese labels built in, extensible via .spreen.yml),
|
|
15
15
|
and exports reports of the pages whose owner or category is unknown.
|
|
16
16
|
executables:
|
|
17
|
-
-
|
|
17
|
+
- wiki-organise
|
|
18
18
|
extensions: []
|
|
19
19
|
extra_rdoc_files: []
|
|
20
20
|
files:
|
|
21
21
|
- LICENSE.txt
|
|
22
22
|
- README.md
|
|
23
|
-
- exe/
|
|
23
|
+
- exe/wiki-organise
|
|
24
24
|
- lib/spreen-wiki.rb
|
|
25
25
|
- lib/spreen_wiki.rb
|
|
26
26
|
- lib/spreen_wiki/application.rb
|
|
File without changes
|