szetszwo commented on code in PR #656: URL: https://github.com/apache/ratis/pull/656#discussion_r892672909
########## ratis-docs/content/cli.md: ########## @@ -41,12 +41,22 @@ $ mvn -DskipTests -Prelease -Papache-release clean package assembly:single Extract the ratis-shell tarball. ``` -$ tar -C <DST_DIR>/ratis-shell -xzf ratis-assembly/target/apache-ratis-<VERSION>-shell.tar.gz +$ mkdir <DST_DIR>/ratis-shell +$ tar -C <DST_DIR>/ratis-shell -xzf ratis-assembly/target/apache-ratis-<VERSION>-shell.tar.gz --strip-component 1 +``` + +You can get the ratis-shell from bin tarball as well: +Download the Ratis bin tarball from https://ratis.apache.org/downloads.html . +Note that ratis-shell is available starting from version 2.3.0 +Extract the bin tarball to a destination directory `<DST_DIR>` +``` +$ tar -C <DST_DIR> -zxvf apache-ratis-<VERSION>-bin.tar.gz Review Comment: We may select to extract only ratis-shell ``` $ tar -C <DST_DIR> -zxvf apache-ratis-<VERSION>-bin.tar.gz apache-ratis-<VERSION>/ratis-shell $ cd <DST_DIR> $ mv apache-ratis-<VERSION>/ratis-shell . $ rmdir apache-ratis-<VERSION>/ ``` ########## ratis-docs/content/cli.md: ########## @@ -41,12 +41,22 @@ $ mvn -DskipTests -Prelease -Papache-release clean package assembly:single Extract the ratis-shell tarball. ``` -$ tar -C <DST_DIR>/ratis-shell -xzf ratis-assembly/target/apache-ratis-<VERSION>-shell.tar.gz +$ mkdir <DST_DIR>/ratis-shell +$ tar -C <DST_DIR>/ratis-shell -xzf ratis-assembly/target/apache-ratis-<VERSION>-shell.tar.gz --strip-component 1 +``` + +You can get the ratis-shell from bin tarball as well: +Download the Ratis bin tarball from https://ratis.apache.org/downloads.html . +Note that ratis-shell is available starting from version 2.3.0 Review Comment: 2.3.0 (already released) does not have ratis-shell bin. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
