File tree Expand file tree Collapse file tree 5 files changed +8
-8
lines changed
Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 77 "path/filepath"
88
99 "github.com/pkg/errors"
10- "github.com/readium/go-toolkit/cmd/rwp/cmd /helpers"
10+ "github.com/readium/cli/pkg /helpers"
1111 "github.com/readium/go-toolkit/pkg/asset"
1212 "github.com/readium/go-toolkit/pkg/fetcher"
1313 "github.com/readium/go-toolkit/pkg/manifest"
@@ -44,13 +44,13 @@ printed to stdout.
4444
4545Examples:
4646 Print out a compact JSON RWPM.
47- $ rwp manifest publication.epub
47+ $ readium manifest publication.epub
4848
4949 Pretty-print a JSON RWPM using two-space indent.
50- $ rwp manifest --indent " " publication.epub
50+ $ readium manifest --indent " " publication.epub
5151
5252 Extract the publication title with ` + "`jq`" + `.
53- $ rwp manifest publication.epub | jq -r .metadata.title
53+ $ readium manifest publication.epub | jq -r .metadata.title
5454 ` ,
5555 Args : func (cmd * cobra.Command , args []string ) error {
5656 if len (args ) == 0 {
Original file line number Diff line number Diff line change 99
1010// rootCmd represents the base command when called without any subcommands
1111var rootCmd = & cobra.Command {
12- Use : "rwp " ,
12+ Use : "readium " ,
1313 Short : "Utilities for Readium Web Publications" ,
1414 Version : version .Version ,
1515}
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import (
1818 "github.com/aws/aws-sdk-go-v2/credentials"
1919 "github.com/aws/aws-sdk-go-v2/service/s3"
2020 "github.com/readium/cli/pkg/serve"
21- "github.com/readium/go-toolkit/cmd/rwp/cmd /serve/client"
21+ "github.com/readium/cli/pkg /serve/client"
2222 "github.com/readium/go-toolkit/pkg/streamer"
2323 "github.com/spf13/cobra"
2424 "google.golang.org/api/option"
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import (
1818 "github.com/gorilla/mux"
1919 httprange "github.com/gotd/contrib/http_range"
2020 "github.com/pkg/errors"
21- "github.com/readium/go-toolkit/cmd/rwp/cmd /serve/cache"
21+ "github.com/readium/cli/pkg /serve/cache"
2222 "github.com/readium/go-toolkit/pkg/archive"
2323 "github.com/readium/go-toolkit/pkg/asset"
2424 "github.com/readium/go-toolkit/pkg/fetcher"
Original file line number Diff line number Diff line change 77 "cloud.google.com/go/storage"
88 "github.com/aws/aws-sdk-go-v2/service/s3"
99 "github.com/gorilla/mux"
10- "github.com/readium/go-toolkit/cmd/rwp/cmd /serve/cache"
10+ "github.com/readium/cli/pkg /serve/cache"
1111 "github.com/readium/go-toolkit/pkg/archive"
1212 "github.com/readium/go-toolkit/pkg/streamer"
1313)
You can’t perform that action at this time.
0 commit comments