Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TS2: Add editoast CLI to import a timetable #6737

Closed
younesschrifi opened this issue Feb 23, 2024 · 0 comments · Fixed by #6754
Closed

TS2: Add editoast CLI to import a timetable #6737

younesschrifi opened this issue Feb 23, 2024 · 0 comments · Fixed by #6754
Assignees

Comments

@younesschrifi
Copy link
Contributor

younesschrifi commented Feb 23, 2024

Description and goal

Creation of a CLI for importing trains based on TrainSchedule V2

Acceptance criteria

  • add a subcommand: cargo run -- trains import --timetable <TIMETABLE_ID> <PATH_TO_TRAINS.JSON>
  • <TIMETABLE_ID> is optional :
    • if the timetable exists, it should create trains on the given timetable
    • if the timetable does not exist, it should handle an error
    • if <TIMETABLE_ID> is not given, we should create a timetable
@younesschrifi younesschrifi self-assigned this Feb 23, 2024
@flomonster flomonster changed the title editoast: TrainScheduleV2 : CLI to import trains Add editoast CLI to import train schedules Feb 23, 2024
@flomonster flomonster assigned ElysaSrc and unassigned younesschrifi Feb 27, 2024
@flomonster flomonster changed the title Add editoast CLI to import train schedules TS2: Add editoast CLI to import a timetable Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants