# Run `gpkg.hello` package examples

Default (using model ref):

    >>> run("guild run -y hello:default --label test-1")
    Hello Guild!
    <exit 0>

Flag (using full package ref):

    >>> run("guild run -y gpkg.hello/hello:from-flag --label test-2")
    Hello Guild, from a flag!
    <exit 0>

From file:

    >>> run("guild run -y hello:from-file --label test-3")
    Resolving msg-file dependency
    Hello Guild, from a required file!
    <exit 0>

From file output:

    >>> run("guild run -y gpkg.hello/hello:from-file-output --label test-4")
    Resolving from-file-run dependency
    Using output from run ... for from-file-run resource
    Latest from-file output:
    Hello Guild, from a required file!
    <exit 0>

Here are our runs:

    >>> run("guild runs -o hello")
    [1:...]  gpkg.hello/hello:from-file-output  ... ...  completed  test-4
    [2:...]  gpkg.hello/hello:from-file         ... ...  completed  test-3
    [3:...]  gpkg.hello/hello:from-flag         ... ...  completed  test-2
    [4:...]  gpkg.hello/hello:default           ... ...  completed  test-1
    <exit 0>

# Run `gpkg.hello` package examples

Delete runs for test:

    >>> quiet("guild runs rm -y")

Default (using model ref):

    >>> run("guild run -y hello:default --label test-1")
    Hello Guild!
    <exit 0>

Flag (using full package ref):

    >>> run("guild run -y gpkg.hello/hello:from-flag --label test-2")
    Hello Guild, from a flag!
    <exit 0>

From file:

    >>> run("guild run -y hello:from-file --label test-3")
    Resolving msg-file dependency
    Hello Guild, from a required file!
    <exit 0>

From file output:

    >>> run("guild run -y gpkg.hello/hello:from-file-output --label test-4")
    Resolving from-file-run dependency
    Using output from run ... for from-file-run resource
    Latest from-file output:
    Hello Guild, from a required file!
    <exit 0>

Here are our runs:

    >>> run("guild runs -o hello")
    [1:...]  gpkg.hello/hello:from-file-output  ... ...  completed  test-4
    [2:...]  gpkg.hello/hello:from-file         ... ...  completed  test-3
    [3:...]  gpkg.hello/hello:from-flag         ... ...  completed  test-2
    [4:...]  gpkg.hello/hello:default           ... ...  completed  test-1
    <exit 0>

Fix test (breaks when TF tests disabled)
Fix test (breaks when TF tests disabled)
