@rine-network/cli 0.11.5 → 0.11.6
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.
- package/dist/main.js +3 -3
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -951,7 +951,7 @@ function registerHook(program) {
|
|
|
951
951
|
deleteHookSecret(configDir, agentId, opts.name);
|
|
952
952
|
throw err;
|
|
953
953
|
}
|
|
954
|
-
printCreated(created,
|
|
954
|
+
printCreated(created, secret, gOpts.json);
|
|
955
955
|
}));
|
|
956
956
|
hook.command("list").description("List your agent's funnel hooks").option("--agent <id>", "Agent ID (defaults to your agent)").action(withClient(program, async ({ client, gOpts, apiUrl }, opts) => {
|
|
957
957
|
const agentId = await resolveAgent(apiUrl, await fetchAgents(client), opts.agent, gOpts.as);
|
|
@@ -985,8 +985,8 @@ function registerHook(program) {
|
|
|
985
985
|
}));
|
|
986
986
|
}
|
|
987
987
|
/** Print the print-once GitHub setup block (the secret is shown exactly once). */
|
|
988
|
-
function printCreated(created,
|
|
989
|
-
const publicUrl = `https://${created.hostname}
|
|
988
|
+
function printCreated(created, secret, json) {
|
|
989
|
+
const publicUrl = `https://${created.hostname}/`;
|
|
990
990
|
if (json) {
|
|
991
991
|
printJson({
|
|
992
992
|
hook: {
|
package/package.json
CHANGED