Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions examples/hello.R
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cat("Hello, world!\n")
1 change: 1 addition & 0 deletions examples/hello.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
print("Hello, world!")
5 changes: 5 additions & 0 deletions examples/hello/app.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from pathlib import Path


message = (Path(__file__).parent / "hello.txt").read_text(encoding="utf-8").strip()
print(message)
1 change: 1 addition & 0 deletions examples/hello/hello.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Hello, world!
2 changes: 2 additions & 0 deletions src/posit_cli/connect/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from rsconnect.main import cli as rsconnect_cli

from .api import api as api_cmd
from .run import run as run_cmd


_epilog = (
Expand All @@ -29,3 +30,4 @@ def connect() -> None:
connect.add_command(_cmd, name=_name)

connect.add_command(api_cmd, name="api")
connect.add_command(run_cmd, name="run")
Loading