# Ion push :repl-cmd

**URL:** <https://forum.datomic.com/t/ion-push-repl-cmd/2369>\
**Category:** Datomic Cloud\
**Created:** [January 11, 2024, 6:45pm UTC](https://forum.datomic.com/t/ion-push-repl-cmd/2369 "2024-01-11T18:45:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![itaied](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.datomic.com/itaied/32/598_2.png) [@itaied](https://forum.datomic.com/u/itaied)\
**Post date:** [January 11, 2024, 6:45pm UTC](https://forum.datomic.com/t/ion-push-repl-cmd/2369/1 "2024-01-11T18:45:04Z")

</div>

Hello,  
I’m trying to separate my prod and dev envs.  
I have 2 configs for the client that I want to load to the classpath depending on the env.  
As a default, load `config/dev/app/config.edn` and for prod alias, load `config/prod/app/config.edn`.

I have tried using `:repl-cmd` but it doesn’t add the files to the zip (tho it does print that command).

```auto
(ion/push {:repl-cmd "-A:prod"})
...
:paths ["src" "resources" "config/dev"]
:aliases
 {:prod {:extra-paths ["config/prod"]}

```

output:

```auto
clj -M:scripts -m ci
(cognitect.s3-libs.s3/upload "datomic-code-***" [{:local-zip ".datomic-ions/datomic/apps/***.zip", :s3-zip "datomic/apps/***.zip"}] {:repl-cmd "-A:prod"})

```

How can I separate these 2 envs? I want to be able to:

- develop locally on the local lib
- have a ci that pushed to code deploy
- enable to load both configs to run `import-cloud`

I just can’t find the right combination for everything to work together.
