CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-airbyte-source-hubspot

Airbyte source connector for HubSpot that enables data synchronization from HubSpot's CRM and marketing platform to various destinations.

80

1.40x
Overview
Eval results
Files

task.mdevals/scenario-3/

Greeting CLI Tool

Build a simple command-line utility that displays personalized greetings.

Requirements

Create a command-line application that:

  1. Accepts a name as a command-line argument
  2. Displays a greeting message using that name
  3. Shows a default message if no name is provided

The application should be invokable as a console script entry point.

Behavior

When the application is invoked with a name argument, it should print:

Hello, [name]! Welcome to the greeting tool.

When invoked without any arguments, it should print:

Hello, World! Welcome to the greeting tool.

Test Cases

  • When invoked with argument "Alice", it prints "Hello, Alice! Welcome to the greeting tool." to stdout @test
  • When invoked without any arguments, it prints "Hello, World! Welcome to the greeting tool." to stdout @test
  • The application can be invoked as a console script entry point @test

Implementation

@generates

API

def main():
    """
    Entry point for the greeting command-line application.

    Reads command-line arguments and prints a personalized greeting message.
    If no name is provided, uses "World" as the default.
    """
    pass

Dependencies { .dependencies }

sampleproject { .dependency }

Provides command-line application scaffolding and entry point capabilities.

Install with Tessl CLI

npx tessl i tessl/pypi-airbyte-source-hubspot

tile.json